Commit Graph

17 Commits

Author SHA1 Message Date
Maxime Besson
3a8b6da81a Add date and PID to default stderr logger
When using Apache or docker, the default Std logger does not write a
timestamp.

This format (poorly) imitates the error_log format so that LLNG messages
will stand out a little less in apache logs. And so that our docker
users can have timestamped messages
2019-05-16 17:39:20 +02:00
Maxime Besson
2f9c7b787e Change default syslog format to include [level]
The default configuration of syslog/journald in pretty much all
environments does not include the log level in the message

This means that it's hard to know which log messages are important and
which aren't at a glance, especially in `debug` level.

This commit should make debugging a lot easier by default.

Savvy users who need precise control on the syslog format should
probably use Log4Perl
2019-05-16 14:02:37 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Xavier Guimard
f4b3e43a2c Workaround for ModPerl/Mouse bug (#1452) 2018-06-13 23:10:40 +02:00
Xavier Guimard
77a558e13a Distinct log/userLog in Dispatch (#1419) 2018-05-11 17:24:56 +02:00
Xavier Guimard
7af003bf3d Add Dispatch logger (fixes: #1419) 2018-05-11 14:43:41 +02:00
Xavier Guimard
3fa8f13627 Fix Sentry logger
Fixes: #1418
2018-05-09 21:07:21 +02:00
Xavier Guimard
b1c6e20aad Add Sentry logger (#1418) 2018-05-09 20:40:11 +02:00
Xavier Guimard
e97a546433 Add "Null" logger (#857) 2018-04-17 06:56:29 +02:00
Xavier Guimard
e2f4de3f9d Missing versions (#595) 2017-02-28 20:53:19 +00:00
Xavier Guimard
c08489a6bc Add Log4perl logger (closes: #1162) 2017-02-21 06:41:50 +00:00
Xavier Guimard
deb28bc9cb Replace lmLog by logger-> (#857) 2017-02-15 06:41:50 +00:00
Xavier Guimard
b31635c62b Force syslog when FastCGI in use (#1162) 2017-02-15 06:41:41 +00:00
Xavier Guimard
88dd1201ef Remove local-only parameters (#1160) 2017-02-13 16:48:39 +00:00
Xavier Guimard
d25f7061ab Transform logger into objects (#1162) 2017-02-13 11:58:39 +00:00
Xavier Guimard
64027a901a Initialize with local conf (#1162) 2017-02-12 20:19:39 +00:00
Xavier Guimard
c5626c77b5 Create logger files (#1162) 2017-02-12 20:09:46 +00:00