<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Avoid overloading sugarcrm.log by channelling logs</title><link>/dev-club/b/dev-blog/posts/avoid-overloading-sugarcrm-log-by-channelling-logs</link><description>Hello Sugar community,
Just came across the following that I would like to share. 
Leveraging PSR-3 Logger we can configure log channels for our specific Sugar customisations. 
As an example, let&amp;rsquo;s imagine I need to implement a c...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Avoid overloading sugarcrm.log by channelling logs</title><link>https://sugarclub.sugarcrm.com/dev-club/b/dev-blog/posts/avoid-overloading-sugarcrm-log-by-channelling-logs</link><pubDate>Mon, 07 Nov 2022 08:10:44 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:864b6963-da70-4347-863e-fc438838467d</guid><dc:creator>Fr&amp;#233;d&amp;#233;ric Rinaldi</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Hi [mention:7b9c65d787144b25aa14d4e63cda83c1:e9ed411860ed4f2ba0265705b8793d05],&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank you for this usefull solution.&lt;/p&gt;
&lt;p&gt;I have a related question : what is the best solution to be warned when a fatal error happened (instead of having to check the logs every days etc.) ? Of course we can imagine using a log checker solution, but it&amp;#39;s not compliant with several of our customer expectation, nor with cloud solution.&lt;/p&gt;
&lt;p&gt;So would it be to customized the core logger to, for instance, send an email when a fatal error happened ? Or log an activity in Sugar ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any idea is welcome.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Fred&lt;/p&gt;
&lt;div id="ext-mouse-move"&gt;&lt;/div&gt;
&lt;div id="ext-mouse-down"&gt;&lt;/div&gt;
&lt;div id="ext-mouse-up"&gt;&lt;/div&gt;&lt;img src="https://sugarclub.sugarcrm.com/aggbug?PostID=2883&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Avoid overloading sugarcrm.log by channelling logs</title><link>https://sugarclub.sugarcrm.com/dev-club/b/dev-blog/posts/avoid-overloading-sugarcrm-log-by-channelling-logs</link><pubDate>Fri, 09 Sep 2022 07:35:04 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:864b6963-da70-4347-863e-fc438838467d</guid><dc:creator>Enes Saridogan</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi [mention:7b9c65d787144b25aa14d4e63cda83c1:e9ed411860ed4f2ba0265705b8793d05],&lt;/p&gt;
&lt;p&gt;Thanks for the trick, it would be useful on huge instances while we can separate for the jobs, hooks, etc ... and leaving the sugarcrm.log for the &amp;quot;high level&amp;quot; logs.&lt;/p&gt;
&lt;p&gt;Have a nice week-end !&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Enes&lt;/p&gt;&lt;img src="https://sugarclub.sugarcrm.com/aggbug?PostID=2883&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>