Disable Logs in Zennoposter

  • Автор темы Автор темы lokiys
  • Дата начала Дата начала

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 922
Реакции
1 206
Баллы
113
I would suggest to add feature to disable logs in zennoposter. Like feature.
Because this errors is pain in the ass. :) I wasted many hours for explaining to my customers that not all errors in logs are real errors :)
And also for me some of those logs is redundant - i'm not interested in unsuccessful exits as error if there is actions after that... :)
 
  • Оценить
Реакции: hotohori и nitin2003
+1

Many times we use fail exit as normal process in the template like the IF statement. So it's actually not an error.
 
In my case i made template where for every action red dot is connected to any more actions and my template looks like totally crap in customer eyes. :D
You know what i mean - there was full of errors. :D
I tried to explain that there is no errors at all, but anyway new customer thinking about worst things :D That i'm making some false excuses :D LOL
 
Example:

Код:
Развернуть Свернуть Копировать
<logger name="*" minlevel="Debug" writeTo="nonCriticalErrors">
            <filters>
                <whenContains layout="${message}" substring="Rise event click of HTMLElement" action="Ignore" />
            </filters>
        </logger>
 
Hi.
Wanted to bump this thread because this NLog.config is just for controlling what logs writes in zenno logs files and not what coming up in zennoposter.

There is still logs section quit useful for logging because there is full of false logs.

That would be really great if we could send to zennoposter logs what we need. In my case only real errors what can i catch with bad end and if success then in good end.

Cheers
 
What exactly types of errors do you wnat to stop? Please write some samples.
 
Example: http://screencast.com/t/mhr8ZqroM5w

Yes i know that there is filter in zenno itself and i can filter out some of those errors but in this case i need option to send my own errors to zennoposter.
For not i'm sending everything as info - errors and success. As this is possible with notes action. But it would be more convenient if we could send errors to exact zenno logs meaning - errors as errors and info as info. :)

Thanks
 
Ok we will think about this.
 
  • Оценить
Реакции: lokiys
Log system is based on Nlog
you can create custom filters (http://nlog-project.org/wiki/WhenContains_filter) or just delete NLog.config to disable logging
Благодарю милый человек. Возможно кому-то пригодится, но вам логи не нужны если у вас шаблоны выполняются за несколько секунд. В моем случае логи, это лишняя нагрузка, пришлось воспользоваться советом с полным их отключением.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)