0
I have an application (in java) running in a Windows PC and I want to send logging messages to a syslog server running in a Linux box somewhere in the network.
The problem I have is, that it is not clear to me what should I use as facility in this case.
I.e. can I (/should I) send the logging info as one of LOCAL0-LOCAL7?
Or are they not supposed to be used by remote applications? It is not clear to me if they are usable or not.
Should I use USER instead?
Could anyone help me on this please?
So isn't LOCAL used for applications running in the same same machine as the syslog server, i.e. local applications?It can be used for remote applications as well?? – user65971 – 2011-02-13T17:57:23.987
Technically, they don't differ from the the other facilities. It's just a name in the end. I personally use the LOCAL facilities to distinguish different log categories from our loadbalancers. All these logs are send to a central syslog server. So yes, you can use it for whatever and wherever you want. – Holger Just – 2011-02-13T18:01:29.660
@user I believe LOCALx means locally defined, or defined by the local organization to mean whatever they want it to mean. – Keith – 2011-02-13T18:21:41.923