Log prefix and wireless debug

Couple of questions here. Firstly, the prefix in the log does what it says on the tin, i.e. adds that prefix before each log line. However, why am I getting log entries without the prefix? Secondly, why am I getting wireless, debug messages in the log when wireless, debug isn’t defined?