[TYPO3] [SYS][systemLogLevel] in T3 4.0
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu Apr 13 09:52:30 CEST 2006
Harald Klotzberg schrieb:
> Good Morning List,
>
> has anyone seen a decription of the $CONF_VARS['SYS']['systemLog'] in
> Install Tool
> or even the Stuff in InstallTool / All Configuration.
>
> Google isn´t my friend in this case ...
> Might be easy but i can´t find any hint about the stuff in beetween the
> commas.
> syslog,,[,];error_log[,,].
Reformatted:
String, semi-colon separated list: Defines one or more logging methods.
Possible methods:
file,<abs-path-to-file>[,<level>];
mail,<to>[/<from>][,<level>];
syslog,<facility>,[,<level>];
error_log[,,<level>].
"file" logs to a file.
"mail" sends the log entries via mail.
"syslog" uses the operating system's log.
"error_log" uses the PHP error log.
The "level" is the individual logging level (see [SYS][systemLogLevel]: 0
is info, 1 is notice, 2 is warning, 3 is error, 4 is fatal error.
"facility" may be one of LOCAL0..LOCAL7, USER (on Windows USER is the only
valid type).
So you can something like that:
file,/var/log/typo3.log,2;mail,admin at isp.com/typo3-daemon at server.com,4
This will log all warnings (and above) to the file /var/log/typo3.log and
will mail fatal errors to admin at isp.com
Masi
More information about the TYPO3-english
mailing list