Trap Rule Logging Template