You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by jh...@apache.org on 2026/01/05 06:22:00 UTC

(james-project) branch master updated: [devscout] fixes logs being created in bin directory for jpa spring

This is an automated email from the ASF dual-hosted git repository.

jhelou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new cb6aa9ab6c [devscout] fixes logs  being created in bin directory for jpa spring
cb6aa9ab6c is described below

commit cb6aa9ab6c25b110cac71e90cb9ef0649470653d
Author: Jean Helou <je...@xn--gml-cma.com>
AuthorDate: Sun Jan 4 18:42:41 2026 +0100

    [devscout] fixes logs  being created in bin directory for jpa spring
---
 server/apps/spring-app/src/main/resources/log4j2.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/apps/spring-app/src/main/resources/log4j2.xml b/server/apps/spring-app/src/main/resources/log4j2.xml
index f8c9fad87f..56be369de0 100644
--- a/server/apps/spring-app/src/main/resources/log4j2.xml
+++ b/server/apps/spring-app/src/main/resources/log4j2.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Configuration status="INFO" monitorInterval="30">
     <Properties>
-        <Property name="logDir">${sys:app.home}/log</Property>
+        <Property name="logDir">${sys:app.home:-..}/log</Property>
         <Property name="logLayoutTomcat">%d{dd-MMM-yyyy HH:mm:ss.SSS} %level [%t] %C.%M:%L - %msg%n</Property>
         <Property name="logLayout1">%d %-7level %logger{36} - %msg%n</Property>
         <Property name="logLayout2">%d %-7level [%t] %C.%M:%L - %msg%n</Property>


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org