log directory is flat, rpm does not need to create extra directories.
Log instead of writing to System.err
Remove a spurious System.out.println statement.