[logback-user] get computer's name

Greg Flex greg.flex at gmail.com
Tue Sep 16 01:48:49 CEST 2008


Hi All,
Simple question....
Is there a way to get the local-computers'-name?
I have the config file with the following pattern:

<pattern>%date{*dd*-*mm*-*yyyy*; HH:mm:ss:SSS} %level [%thread] %logger{10}
[%file : %line] Class Name:%class Method Name:%M Line Number:%L %*msg*%n</
pattern>

How can I get the computer's name that additionally to what's above?? Thanks
for any suggestions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20080915/89b7a72c/attachment-0001.htm 


More information about the Logback-user mailing list