Forum Stats

  • 3,769,004 Users
  • 2,252,898 Discussions
  • 7,874,837 Comments

Discussions

Glassfish log - syslog

User_ZZXYF
User_ZZXYF Member Posts: 79 Red Ribbon
edited Jun 16, 2017 4:29PM in Java User Groups Discussions

Hello All,

I have a server running glassfish.

I want to configure the application to save logs to syslog.

I did the below steps:

asadmin set-log-attributes handlers=java.util.logging.ConsoleHandler,com.sun.enterprise.server.logging.SyslogHandler

asadmin set-log-attributes com.sun.enterprise.server.logging.SyslogHandler.useSystemLogging=true

Can anyone please advise if its good and where are the logs stored after configured logs to syslog?

Thanks

Answers