Skip to content

Commit d0a6c4c

Browse files
committed
System Touch
1 parent bddb93e commit d0a6c4c

4 files changed

Lines changed: 12 additions & 5 deletions

File tree

bash/github.binary.classes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# github.binary.classes.sh
33
# Moves all .class files from /source to the corresponding /out directory.
44

5-
ROOT="$(cd "$(dirname "$0")" && pwd)"
5+
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
66
SRC="$ROOT/source"
77
OUT="$ROOT/out"
88

source/Main.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,13 @@ public Main()
7575

7676
System.out.println();
7777

78+
System.out.print("\033[31m");
7879
CommonRails.printSystemComponent(this, this.hashCode(),". Java™ National Finance Engine v.2811.1 v.11.1 .");
80+
System.out.print("\033[0m");
7981

82+
System.out.print("\033[31m");
8083
CommonRails.printSystemComponent(this, this.hashCode(),". National NitroExpress™ Web Engine Starting .");
84+
System.out.print("\033[0m");
8185

8286
NationalDriver DRIVER = new NationalDriver();
8387

source/commons/CommonRails.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ private static String resolveOidColor(final String SIMPLECLASSNAME)
9595

9696
String low = SIMPLECLASSNAME.toLowerCase();
9797

98+
if (low.equals("main"))
99+
return "\033[31m";
100+
98101
if (low.contains("security") || low.contains("port") || low.contains("auth"))
99102
return OID_SECURITY;
100103

source/exceptions/ExceptionHandler.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ public class ExceptionHandler
1717

1818
private ExceptionHandler()
1919
{
20-
ExceptionPersistenceService persistence = new ExceptionPersistenceService("exceptions.log");
20+
ExceptionPersistenceService persistence = new ExceptionPersistenceService("/logging/exceptions.log");
2121

2222
BackendSettings settings = new BackendSettings(
2323
true,
24-
"exceptions.log",
24+
"/logging/exceptions.log",
2525
List.of(
2626
new SecurityExceptionHandler(),
2727
new NullPointerConstructorHandler(),
28-
new PersistenceListener("exceptions.log")
28+
new PersistenceListener("/logging/exceptions.log")
2929
)
3030
);
3131

3232
dispatcher = new ExceptionEventDispatcher(
3333
List.of(
3434
new SecurityExceptionHandler(),
3535
new NullPointerConstructorHandler(),
36-
new PersistenceListener("exceptions.log"),
36+
new PersistenceListener("/logging/exceptions.log"),
3737
new N21ExceptionListener()
3838
),
3939
persistence,

0 commit comments

Comments
 (0)