How to Append Play Framework Logs by Days?

Do the following to append Play Framework logs by day:

  1. Create logger.xml in conf folder.
  2. Edit logger.xml and add in the following xml configuration to the xml file.







            ${application.home}/logs/application.%d{yyyy-MM-dd}.log


            %date - [%level] - from %logger in %thread %n%message%n%xException%n




            %coloredLevel %logger{15} - %message%n%xException{5}












Leave a Reply

Your email address will not be published. Required fields are marked *