Skip to main content

Configuring GlassFish Server Open Source Edition 3.1 (build 43) to write to syslog

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
jeeans
Offline
Joined: 2010-04-25

Hi all,
On an installation of GlassFish Open Source Edition 3.1 (build 43) running on Ubuntu 10.04.2 LTS I have problems redirecting my log messages to syslog (rsyslog). I.e. I have no log ouput from my EJBs delivered to any of the files described in the default rsyslog configuration.
The only GlassFish configuration for syslog allegedly enables/disables GlassFish to write to the system log. This I set e.g. in GlassFish admin in "Configurations -> server-config -> Logger Settings". I find, however, no way of defining the syslog facility to be written to. Can anyone point me in the right direction? Is there a default syslog facility that GlassFIsh writes to? And can it be altered?
Jens Ivar

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dhjorth
Offline
Joined: 2011-05-19

I have run into this same problem and am interested in the answer.

Naman Mehta Guest
Offline
Joined: 2011-05-10

Glassfish is supporting syslog but it allows to write on localhost only.

I will try the same and let you know more on this.

Regards,
Naman

On Friday 06 May 2011 03:20 AM, forums@java.net wrote:
> Hi all,
>
> On an installation of GlassFish Open Source Edition 3.1 (build 43)
> running on
> Ubuntu 10.04.2 LTS I have problems redirecting my log messages to syslog
> (rsyslog). I.e. I have no log ouput from my EJBs delivered to any of the
> files described in the default rsyslog configuration.
>
> The only GlassFish configuration for syslog allegedly enables/disables
> GlassFish to write to the system log. This I set e.g. in GlassFish
> admin in
> "Configurations -> server-config -> Logger Settings". I find, however,
> no way
> of defining the syslog facility to be written to. Can anyone point me
> in the
> right direction? Is there a default syslog facility that GlassFIsh
> writes to?
> And can it be altered?
>
> Jens Ivar
>
>
> --
>
> [Message sent by forum member 'jeeans']
>
> View Post: http://forums.java.net/node/798967
>
>