updated bin logger