As far as I know the standard way of writing log output to logfiles is as plain
human readable text.
Is there a way to configure log4j to enrypt lines before writing?
Or (re-)encrypt whole logfile after writing?
The encryption should NOT take place IN the writing application but be
configured
As far as I found out all output initiated by an
log.info();
statement is written WITHOUT an EOL char.
Ok, I could manually always append an \n as in:
log.info(\n);
But this is unconvenient. Is there a way to tell Log4j to ALWAYS AUTOMATICALLY
append an EOL
on each log output?
Ben
Assume a default log4j.properties file is setup for a whole application server.
Now I deploy a new, own java program into the application server which contains
logging
statements like
log.info();
as well.
Currently the log output go to the default log file defined in the overall
I want to read postings in this mailing-list by using a web browser and to be
able to post/send questions
but I don't want to get all postings by email.
Allmost all other mailing-lists offer a
stop-mail-delivery-but-not-unsubscribe option for this.
How can I achieve this for the
Assume I use Log4j from inside a java program/bean and I want to find out which
of the several log4j,properties
files are currently used for log4j.configuration.
Can I somehow get this information from inside the java program?
I can think of a command like
log.showpropfilelocation();
or