Opened 6 years ago

Closed 6 years ago

#1861 closed enhancement (fixed)

Petascope add log4j extra dependency to support time based rolling policy

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.7
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

New dependency in petascope-core's pom.xml

        <dependency>
            <groupId>log4j</groupId>
            <artifactId>apache-log4j-extras</artifactId>
            <version>1.2.17</version>
        </dependency>

which allows to configure petascope.log per time smoothly via petascope.properties with log4j.configurations and old logs can be zipped as well (e.g: http://2min2code.com/articles/log4j_intro/rolling_archiving_file_per_hour_minute_prop)

Change History (1)

comment:1 by Dimitar Misev, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.