Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
log4j12
log4j-logfactor5-userdir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File log4j-logfactor5-userdir.patch of Package log4j12
Index: src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java =================================================================== --- src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java.orig 2009-12-10 12:10:48.754263787 +0100 +++ src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java 2009-12-10 12:10:53.073264414 +0100 @@ -340,7 +340,7 @@ String home = System.getProperty("user.home"); String sep = System.getProperty("file.separator"); - return home + sep + "lf5" + sep + CONFIG_FILE_NAME; + return home + sep + ".logfactor5" + sep + CONFIG_FILE_NAME; } //-------------------------------------------------------------------------- Index: src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java =================================================================== --- src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java.orig 2009-12-10 12:10:48.755263943 +0100 +++ src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java 2009-12-10 12:10:53.074264009 +0100 @@ -167,14 +167,14 @@ /** * Creates the directory where the MRU file list will be written. - * The "lf5" directory is created in the Documents and Settings + * The ".logfactor5" directory is created in the Documents and Settings * directory on Windows 2000 machines and where ever the user.home * variable points on all other platforms. */ public static void createConfigurationDirectory() { String home = System.getProperty("user.home"); String sep = System.getProperty("file.separator"); - File f = new File(home + sep + "lf5"); + File f = new File(home + sep + ".logfactor5"); if (!f.exists()) { try { f.mkdir(); @@ -260,7 +260,7 @@ String home = System.getProperty("user.home"); String sep = System.getProperty("file.separator"); - return home + sep + "lf5" + sep + CONFIG_FILE_NAME; + return home + sep + ".logfactor5" + sep + CONFIG_FILE_NAME; } /** @@ -282,4 +282,4 @@ //-------------------------------------------------------------------------- // Nested Top-Level Classes or Interfaces //-------------------------------------------------------------------------- -} \ No newline at end of file +}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor