File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
kernel/kernel-impl/src/main/java/org/sakaiproject/ignite
microsoft-integration/impl/src/main/java/org/sakaiproject/microsoft/impl Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ protected IgniteConfiguration createInstance() {
119
119
igniteConfiguration .setDeploymentMode (DeploymentMode .CONTINUOUS );
120
120
121
121
try {
122
- igniteConfiguration .setGridLogger (new Log4J2Logger (serverConfigurationService . getSakaiHomePath ( ) + "custom-ignite- log4j2.xml " ));
122
+ igniteConfiguration .setGridLogger (new Log4J2Logger (System . getProperty ( "catalina.home" ) + "/conf/ log4j2.properties " ));
123
123
} catch (Exception e ) {
124
124
log .error ("Error trying to set log4j configuration " + e .getMessage ());
125
125
}
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ public class MicrosoftCommonServiceImpl implements MicrosoftCommonService {
168
168
169
169
public void init () {
170
170
LoggerContext context = (LoggerContext ) LogManager .getContext (false );
171
- context .setConfigLocation (new File (serverConfigurationService . getSakaiHomePath ( ) + "custom-microsoft- log4j2.xml " ).toURI ());
171
+ context .setConfigLocation (new File (System . getProperty ( "catalina.home" ) + "/conf/ log4j2.properties " ).toURI ());
172
172
context .reconfigure ();
173
173
174
174
// register functions
You can’t perform that action at this time.
0 commit comments