Posted By:
Mohammad_Shamsi
Posted On:
Wednesday, June 2, 2004 12:42 AM
Hi Mr. Fireball
use a simple filter to solve this problem
Class SetLocationInfoFilter extends Filter {
public int decide(LoggingEvent event) {
event.getLocationInformation();
return Filter.NEUTRAL;
}
}
this simple method causes that location info set befor
sendding loggingevent to the client (socket or database or ...)
add this filter name to your appender in log4j property
file.
;)
M. H. Shamsi