Include exception in warning message when pid file cannot be created
Closes gh-2905
This commit is contained in:
@@ -108,7 +108,7 @@ public class ApplicationPidFileWriter implements
|
||||
writePidFile(event);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
logger.warn(String.format("Cannot create pid file %s", this.file));
|
||||
logger.warn(String.format("Cannot create pid file %s", this.file), ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user