Skip to content

Commit 6b8f316

Browse files
authored
adjust logging levels (#158)
1 parent bd7d83a commit 6b8f316

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/main/java/net/atomique/ksar/Main.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ public static void main(String[] args) {
6464
int i = 0;
6565
String arg;
6666

67-
log.trace("ksar Version : {}", VersionNumber.getVersionString());
68-
log.debug("Java runtime Version : {}", System.getProperty("java.runtime.version"));
69-
log.debug("Java runtime architecture : {}", System.getProperty("os.arch"));
67+
log.info("ksar Version : {}", VersionNumber.getVersionString());
68+
log.info("Java runtime Version : {}", System.getProperty("java.runtime.version"));
69+
log.info("Java runtime architecture : {}", System.getProperty("os.arch"));
7070

7171
/// load default - Mac OS X Application Properties
7272
String mrjVersion = System.getProperty("mrj.version");

src/main/java/net/atomique/ksar/XMLConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public void endElement(String uri, String localName, String qName) throws SAXExc
296296
if (currentColor.is_valid()) {
297297
GlobalOptions.getColorlist().put(currentColor.getData_title(), currentColor);
298298
} else {
299-
log.error("Err: {}", currentColor.getError_message());
299+
//log.error("Err: {}", currentColor.getError_message());
300300
currentColor = null;
301301
}
302302
in_color = false;

src/main/java/net/atomique/ksar/ui/Desktop.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public Desktop() {
4040
GraphicsConfiguration gc = gd.getDefaultConfiguration();
4141

4242
Rectangle screenBounds = gc.getBounds();
43-
log.trace("screen [{}] boundaries: {}", j, screenBounds.toString());
43+
log.debug("screen [{}] boundaries: {}", j, screenBounds.toString());
4444

4545
//use screen0 boundaries for Desktop placement
4646
if ( j == 0 ) {
@@ -55,7 +55,7 @@ public Desktop() {
5555
initComponents();
5656

5757
setBounds(desktopBounds);
58-
log.trace("desktop window boundaries: {}", this.getBounds().toString());
58+
log.debug("desktop window boundaries: {}", this.getBounds().toString());
5959

6060
DesktopPane.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
6161
setVisible(true);

0 commit comments

Comments
 (0)