12 Commits

Author SHA1 Message Date
Marc Jauvin
6c99aada0b Truncate URLs in the request log to 191 chars (#4287)
Credit to @mjauvin
2019-04-21 18:12:30 -06:00
Samuel Georges
462c9cd4e8 Introduce theme logging + log settings
CmsObject changes can now be tracked (disabled by default)
Request logging is now disabled by default (security vector)
2017-02-08 05:44:04 +11:00
Samuel Georges
b534006f35 DbDongle -> App::hasDatabase 2016-04-16 07:44:18 +10:00
Vojta Svoboda
c6113f81bd Update RequestLog.php
Truncate URL which should be maximum 255 lenght.

Reason: Today I got this error:

```
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'url' at row 1 (SQL: insert into `system_request_logs` (`url`, `status_code`, `count`, `updated_at`, `created_at`) values (http://www.mysite.com/docs/%C3%83%C6%92%...<too-many-chars>...%80%9A%C3%82%C2%814.pdf, 404, 1, 2016-01-02 12:16:08, 2016-01-02 12:16:08))
```
2016-01-02 12:20:19 +01:00
Samuel Georges
d5c93e12e9 Don't try to log 404s without a DB 2015-03-14 15:07:57 +11:00
gergo85
f0005d196b Cleanup
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Sam Georges
c83797231d Subsequent expressions are on a new line (see developer guide > PSR exceptions) 2014-11-01 12:00:45 +11:00
Stefan Talen
f85087eac6 Updating modules/system 2014-10-18 11:58:50 +02:00
Sam Georges
8d73924fbb Add docs to class headers 2014-10-03 18:00:21 +10:00
Sam Georges
8a246a8193 Use a smarter approach to logging request referers 2014-07-30 18:24:16 +10:00
Sam Georges
fb788c9c0a Make request and access log work 2014-07-30 17:33:26 +10:00
Sam Georges
93590fb272 TraceLog -> EventLog
Cms\ErrorLog -> System\RequestLog
Set up some basic language keys
2014-07-30 17:19:51 +10:00