set global logging