paulonicolau-rj commented on issue #2274:
URL: 
https://github.com/apache/logging-log4j2/issues/2274#issuecomment-1935867284

   > Switch the order of `<Properties>` and `<CustomLevels>`:
   > 
   > ```
   > <Configuration>
   >     <Properties>
   >        <Property name="basePath">${sys:catalina.home}/logs</Property>
   >     </Properties>
   > 
   >     <CustomLevels>
   >        <CustomLevel name="EVENT" intLevel="550" />
   >     </CustomLevels>
   > 
   >     ...
   > </Configuration>
   > ```
   
   Thanks, it worked partially. Now, it´s working when I use absolute path like 
a value. 
   <Property name="basePath">/usr/share/tomcat/logs</Property>
   
   But, if I use a system parameter, por example, it doesn´t work.
   <Property name="basePath">${sys:catalina.home}/logs</Property>
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to