hi Ahmed, thank you for your quick response.
this is part of my log4erl.conf, the rest of the conf file is just the
default logger you supplied as an example:
logger loggername {
syslog_appender appendername {
level = error,
facility = local3,
format = '[%L] %I %l%n'
% host = localhost
% port = 514
}
}
and this is how i'm calling log4erl:
log4erl:error(loggername, "ERROR MESSAGE HERE").
i double checked all the config files (log4erl.conf, /etc/
syslog.conf, /etc/init.d/syslog) and can't see anything strange.
if something comes to your mind, please tell me.
regards,
On Apr 9, 4:33 pm, Ahmed Ali <
ahmed.naw...@gmail.com> wrote:
> Hi fullWindsor,
>
> From the below, I think you're confused. In log4erl:error/2,3,4, you
> shouldn't put the appender name but the logger name. Appender's name
> is used as a unique id used to identify the appender in gen_event
> process and for informational messages (i.e.
> log4erl:get_appenders/1,2).
>
> If you're using the default logger, you don't need to supply any
> logger name. If it didn't work, please send me "log4erl.conf" file and
> I'll check it.
>
> Regards,
>
> Ahmed
>