Forum Stats

  • 3,727,353 Users
  • 2,245,374 Discussions
  • 7,852,752 Comments

Discussions

Glassfish log - syslog

User_ZZXYF
User_ZZXYF Member Posts: 79 Red Ribbon

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

Sign In or Register to comment.