setLoggerOnly

Initializes the logger