secustor
secustor

Reputation: 3509

Archive multiple log files in a singe archive

Is it possible to archive multiple log files into one archive using the log4j2 framework?

eg.

--logs
   -ROOT.log
   -ERRORS.log
   -TELEGRAMS.log

   --archive
    --2017_06_23
     -2017_06_23_09_10.log.gz
      -ROOT.log
      -ERRORS.log
      -TELEGRAMS.log
     - ...

Upvotes: 0

Views: 57

Answers (1)

sazzad
sazzad

Reputation: 6267

No.

It is not possible to archive multiple log files into one archived file by Log4j2.

Upvotes: 1

Related Questions