Java Logging

Submitted by code_admin on Mon, 07/23/2018 - 09:24

My standard way of using Java Logging.

Level.SEVERE = All fatal exceptions - always seen
Level.WARNING = Default shown warnings
Level.INFO = General app info messages
** DEFAULT LEVEL IS INFO **
Level.CONFIG = Non error messages
Level.FINE = ??
Level.FINER = ??
Level.FINEST,"FINEST = Single bug fix

Tags

Perl Pie

Submitted by code_admin on Fri, 07/20/2018 - 16:11

Find and replace:

perl -pi -e 's/\n//gi' *.txt
The strign is s/SEARCH/REPLACE/gi
g - find all occurances, leave out for just first
i - case insensitive

Tags