I am using Log4j for logging my application activity. In my local environment it was logging like
Fiilename:linenumber: your logging message
then I created archive and deploy in another environment then its logging without file name, can any one clear me which property if logger do this.
thanks
Look at the documentation for PatternLayout. Note that figuring out file name and file number is slow (I guess it involves getting a stack trace and analyzing it).