DASHGIR wrote:
Do you know why log4j requires to log as remote? How does it do it. IP
spoofing?
Log4j does not require to log to a remote syslog host. *You* are telling it to
log through a SyslogAppender that *you* are defining.
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexib
> >
> > --
> > Ceki Gülcü
> > Logback: The reliable, generic, fast and flexible logging framework
for
> > Java.
> > http://logback.qos.ch
> >
> > -
> > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> > For additio
ogging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/SyslogAppender-on-linux-and-aix-tp24219637p24226771.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
--
DASHGIR wrote:
No error message, no output and the machine does not catch fire.
The hostname is indeed replaced with the machine hostname where the syslog
daemon is running.
I almost assumed that the syslog is setup to accept messages from the
network. I will check with the admins.
By defaul
/ TODO Auto-generated method stub
>> PropertyConfigurator.configure("log.properties");
>>
>> Logger logger =
> Logger.getLogger(SyslogAppenderTest.class.getName());
>>
>>
>> logger.info("**This test message**"
e());
>
>
> logger.info("**This test message**");
>}
>
> The syslog.conf contains the entry
>
> user.info /var/log/syslogtest.log
>
>
>
> --
> View this message in
ss.getName());
logger.info("**This test message**");
}
The syslog.conf contains the entry
user.info /var/log/syslogtest.log
--
View this message in context:
http://www.nabble.com/SyslogAppender-on-linux-and-aix-tp24219637p2421963