hook logging
logdate module