IMHO the brackets are there because it makes shell scripting easier.
On Saturday, May 12, 2012 6:03:15 PM UTC+2, Akhtar Zaman wrote:
>
> Hi
>
> I am using monolog for logging in my Symfony2 Project. The following
> code
> snippet i used to log.
>
> $log = new Logger('account');
> $log->pushHandler(new StreamHandler('/var/log/symfony2.log',
> Logger::DEBUG));
>
> $log->addDebug(' Anonymas user accessed login');
>
> The following message i see when i open the log file.
>
> [2012-05-11 10:55:04] account.DEBUG: Anonymas user accessed login []
> []
>
> I do not want the two empty square brackets i see in log. Any
> suggestion on how to remove them will
> be great help to me.
>
>
> Thanks
> Akhtar Zaman
>
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en