RemoteLogger with log4j Remote IP-Adress

234 views
Skip to first unread message

kaefert

unread,
Nov 16, 2011, 6:45:24 AM11/16/11
to gwt-log
Hi there!

I already started to write a message asking for how to get the Remote
IP-Adress into log messages on the server for client-side log entries
recieved by the RemoteLogger. However, after a few hours search I
found out: just use "%X{remoteAddr}" within your log4j conversion
pattern.

However, I would ask you to add this a one-liner to
http://code.google.com/p/gwt-log/wiki/GettingStarted under the section
about the RemoteLogger, so others have that info quicker than me. (I
woiuld have added it myself but although it says its a wiki, it can
not be edited by normal users)

Regards, Thomas Käfer

Fred Sauer

unread,
Jan 6, 2012, 9:24:38 PM1/6/12
to gwt...@googlegroups.com
Great suggestion!

I updated the wiki:

--
You received this message because you are subscribed to the Google Groups "gwt-log" group.
To post to this group, send email to gwt...@googlegroups.com.
To unsubscribe from this group, send email to gwt-log+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en.




--
Fred Sauer
fr...@allen-sauer.com
Reply all
Reply to author
Forward
0 new messages