﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16736	AdminEmailHandler ignores user args to log message.	saverio.trioni@…	Saverio Trioni	"When using AdminEmailHandler to log own code, the mail subject and content has the raw LogRecord msg attribute instead of the LogRecord.getMessage() merged string. 

This appears when using the standard log API 
{{{
foo, bar = 'hello', 'world'
logger.error(""The configuration is %s %s"", foo, bar)
}}}

The email subject should be ""The configuration is hello world"" (barring configured prefixes), but is ""The configuration is %s %s"". The same happens to the email content.

This can be solved using `record.getMessage()` instead of `record.msg` to get the message.

"	Bug	closed	Core (Other)	1.3	Normal	fixed	logging		Ready for checkin	1	0	0	0	1	0
