Add POST debug logging; unify debug log format