Discussion:
[TYPO3] [SYS][systemLogLevel] in T3 4.0
Harald Klotzberg
2006-04-13 06:23:37 UTC
Permalink
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[,,].

Still looking for a fix for my EM Problem ...
php_error_log says only "Allowed memory size of 100663296 bytes exhausted",
that?s what i already know, all other logfiles talking not too much bad
stuff ...

maybe there are some more options to get a hint whats wrong on my machine.
i can?t believe my server doesn?t like the latest version of my very
favourite tool ...


thanx a lot,
grtz, harry
Martin Kutschker
2006-04-13 07:52:30 UTC
Permalink
Post by Harald Klotzberg
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
Harald Klotzberg
2006-04-13 08:25:04 UTC
Permalink
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
Post by Harald Klotzberg
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

Loading...