My story:
I want to make a thing which is as simple as a simplest possible log4j logger that logs rows to a file. I have found several examples with some functionality, but not a basic, general one that really works, and not one with an explanation how the each row work.
Question:
Could anybody provide one?
Prerequisites:
- I already know where to put the file and I have the log4j configured and working for console logging.
- Now I want to log to a file and also find the file from file system once the program has run.
- Rows needed to be added to the existing
log4j.propertiesfile are the desired output.