Disable Logs in Zennoposter

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
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

nitin2003

Client
Регистрация
18.09.2012
Сообщения
195
Благодарностей
11
Баллы
18
Ya, I agree with you..
 

hotohori

Client
Регистрация
10.02.2012
Сообщения
154
Благодарностей
40
Баллы
28
+1

Many times we use fail exit as normal process in the template like the IF statement. So it's actually not an error.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
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
 

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 285
Благодарностей
2 730
Баллы
113
  • Спасибо
Реакции: Wide

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Example:

Код:
<logger name="*" minlevel="Debug" writeTo="nonCriticalErrors">
            <filters>
                <whenContains layout="${message}" substring="Rise event click of HTMLElement" action="Ignore" />
            </filters>
        </logger>
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
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
 

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 285
Благодарностей
2 730
Баллы
113
What exactly types of errors do you wnat to stop? Please write some samples.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
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
 

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 285
Благодарностей
2 730
Баллы
113
Ok we will think about this.
 
  • Спасибо
Реакции: lokiys

Wide

Client
Регистрация
04.02.2013
Сообщения
945
Благодарностей
257
Баллы
63
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
Благодарю милый человек. Возможно кому-то пригодится, но вам логи не нужны если у вас шаблоны выполняются за несколько секунд. В моем случае логи, это лишняя нагрузка, пришлось воспользоваться советом с полным их отключением.
 

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