[TYPO3] [SYS][systemLogLevel] in T3 4.0

Harald Klotzberg harald.klotzberg at netzbewohner.de
Thu Apr 13 10:25:04 CEST 2006


Hi Martin,

thanx a lot!
After fixing a known bug in class.t3lib_div.php(#0003174 - Call to undefined
function: char()) i have a perfect logging :)
Cool. Just wrote the bug in here for others having a short info while
searching the same prob.
thanx.

grtz, harry


 
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Martin
Kutschker
Sent: Thursday, April 13, 2006 9:52 AM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] [SYS][systemLogLevel] in T3 4.0


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
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list