Split logging and add some http options