I'm an application developer currently working with our sysops team around logging. Their problem is that everyone who writes an app logs in entirely their own way, often to the filesystem with no consideration for a standardised logging format. <div>
<br></div><div>I've been looking into logback and so far so good...my idea is that when a developer deploys to the container, the container overrides the logback.xml file via the system property with it's own one, that then logs via gelf to something like graylog.</div>
<div><br></div><div>I've been trying this locally and I don't seem to get any messages being sent to graylog...my suspicion is that jboss finds the application's logback file then ignores the system property. Am I correct in assuming this is right, or should the system property override the logback that is in the jar?</div>
<div><br></div><div>Out of interest, does this seem a valid solution for standardised logging?</div><div><br></div><div>Thanks</div><div>Michael</div>