added locale logging, proof of concept