Curious how many test their logging statements here. To test that my\nlogging is what I expect it to be I usually create an instance\nvariable e.g. mLogMessage. I set it and log it, then check my\nmLogMessage in my Junit test. This allows me to test what I'd expect\nmy log to be without checking the log file itself. The negative is\nthat I have a getLogMessage() which is only used by Junit. Wondered\nwhat other approaches people use.