Page 1 of 1

I have a lot of log.N.txt files without running debug mode

Posted: Tue Jun 23, 2015 1:07 pm
by 0xDEADC0DE
Here are the messages in the files.
Any why do I get them when I haven't specified debug mode?
I'm running the portable version.

Code: Select all

Timestamp   Thread   Forced   Function   Details
18:22:10.448394   5760      logging::Log::init   Started logging
18:22:10.448394   5760   X   ui::clip::Clipboard::Clipboard   ERROR:Opening clipboard failed
18:22:10.448394   5760   X   ui::clip::Clipboard::Clipboard   ERROR:(122)The data area passed to a system call is too small.



Code: Select all

Timestamp   Thread   Forced   Function   Details
9:56:53.36224   5928      logging::Log::init   Started logging
9:56:53.36224   5928   X   inet::InternetConnection::isInternetConnected   ERROR:Internet disconnected : (0)The operation completed successfully.
9:56:56.78452   5928   X   inet::InternetConnection::isInternetConnected   ERROR:Internet disconnected : (0)The operation completed successfully.



Code: Select all

Timestamp   Thread   Forced   Function   Details
14:40:46.458735   3552      logging::Log::init   Started logging
14:40:46.458735   3552   X   ui::clip::Clipboard::Clipboard   ERROR:Opening clipboard failed
14:40:46.458735   3552   X   ui::clip::Clipboard::Clipboard   ERROR:(5)Access is denied.
14:41:19.242264   3552   X   ui::clip::Clipboard::Clipboard   ERROR:Opening clipboard failed
14:41:19.242264   3552   X   ui::clip::Clipboard::Clipboard   ERROR:(5)Access is denied.

Re: I have a lot of log.N.txt files without running debug mo

Posted: Tue Jun 23, 2015 2:18 pm
by usbpoweredfridge
Not sure about the others, but I reported a slightly different variation of the first (the 'data area passed to a system call is too small' last year:
viewtopic.php?f=6&t=1908

As you pointed out, it happens even with debug logging disabled. I have setup my disk cleaner to automatically delete the log files when it detects them, though unsure if they still occur since I excluded my web browsers in the clipboard monitor I have running (I don't bother checking anymore, if they still occur, the disk cleaner will take care of them for me).

Chris

Re: I have a lot of log.N.txt files without running debug mo

Posted: Wed Jun 24, 2015 12:46 pm
by CintaNotes Developer
CN writes log files when errors happen, even if debug logging is turned off (when debug logging is on, all events are recorded, even those which are not errors).

1) Do you have the latest CN version?
2) The "access denied" error may indicate that you often try to clip from higher privileged applications. Running CintaNotes as admin may help to solve this issue.
3) The "internet disconnected" error seems to be a bug - it is not exceptional that internet may be disconnected. We'll fix this, thanks

Re: I have a lot of log.N.txt files without running debug mo

Posted: Wed Jun 24, 2015 10:16 pm
by 0xDEADC0DE
1) I'm using 2.9.1. Always newest version.
2) I start CN always with elevated with admin rights.

Re: I have a lot of log.N.txt files without running debug mo

Posted: Mon Jun 29, 2015 7:38 am
by CintaNotes Developer
Ok I've done some investigation and I think I know why those "access denied" errors appear.
We'll fix this in the next version. Thanks!

Re: I have a lot of log.N.txt files without running debug mode

Posted: Thu Feb 21, 2019 8:41 am
by fmsgorb@gmail.com
I have the same issue with the latest version 3.12
it seems like a debug of user actions

these logs are written even if I run the program with administrator privileges
here is an excerpt from the written logs

Code: Select all

Timestamp   Thread   Forced   Function   Details
9:48:30.283741   4572      logging::Log::init   Started logging
9:48:30.283741   4572      logging::Log::init   App version: 3.12, Sep 18 2018
9:48:30.283741   4572   X   ui::controls::RichEdit::onLButtonDoubleClick   Begin
9:48:30.283741   4572   X       ui::controls::RichEdit::onLButtonDoubleClick   prevSel.toString()=[TextSelection(81,81)]
9:48:30.283741   4572   X       ui::controls::RichEdit::onLButtonDoubleClick   sel.toString()=[TextSelection(75,83)]
9:48:30.283741   4572   X       ui::controls::RichEdit::onLButtonDoubleClick   tr.toString()=[TextRange(75,83)]
9:48:30.283741   4572   X   ui::controls::RichEdit::onLButtonDoubleClick   End

Re: I have a lot of log.N.txt files without running debug mode

Posted: Fri Feb 22, 2019 8:04 am
by CintaNotes Developer
This is a known issue and it will be fixed in version 3.13 which is about to arrive. Thanks!