23/12/2019
Topic:
SQLite log file - LogActivities.sqlite3
JM
|
With both log options unchecked in the advanced options, still get a LogActivities.sqlite3 file created and held open. This causes me grief as I have my Symenu located on MS OneDrive and it complains about LogActivities.sqlite3 being held open. I've been unsuccessful at getting OneDrive to ignore (not Symenu's challenge). Question: is there a configuration option to disable SQLlite use if you'r enot logging? Short of that, is there a way to direct the log files to a different directory? Thank you |
27/12/2019
Topic:
SQLite log file - LogActivities.sqlite3
JM
|
Gianluca wrote:
OK I've just checked the code.
Even if you disable the two options I need to know several things: 1) the folder existence. If it doesn't exist it'll be created; 2) the tables existence; 3) the write permission on folder and db file.
I can't avoid these checks because you are allowed to change the log options during the program execution and I need to be ready for this on the fly change. Anyway your workaround is not to wait for my modify, that I probably won't do, but to put the log folder in read-only state.
If it works, please report that here.
Gianluca - Thank you for reviewing the code and suggesting a work around. I can report that the work around is effective. I started Symenu and let it create Log and Log/LogActivities.sqlite3 I exited Symenu Waited for OneDrive to complete sync Set Read Only on Log and Log/LogActivities.sqlite3 Waited for OneDrive to complete sync Started Symenu - no errors or other msgs
I'll report back if there are ramifications during other activities.
As a permanent fix to this (I assume other sync technologies would have similar challenges), could you add the ability to set the log path as a configuration option? My strategy in using Symenu is to make apps portable across Windows instances and minimize my rebuild time when I have to swap out my device. So putting Symenu on my OneDrive was a significant part of that strategy.
Thank you Jon |
20/01/2020
Topic:
SQLite log file - LogActivities.sqlite3
JM
|
Gianluca wrote:
As you can see here https://www.ugmfree.it/SyMenuManual.aspx#CommandLine SyMenu already grants a lot of path customizations.
It's not a problem to add the path for the log this way, but you should use a customized shortcut with a new command line parameter to execute SyMenu. I don't know if you'd be willing to do that.
Anyway, I'm a power user of Dropbox and I have a similar problem with several folders (not a SyMenu thing anyway). The solution in Dropbox and in any other synchronization tool is to use the selective sync. Here's the OneDrive solution for this: https://support.office.com/en-us/article/choose-which-onedrive-folders-to-sync-to-your-computer-98b8b011-8b94-419b-aa95-a14ff2415e85
For whatever reason, I don't seem to get notifications when you reply, so this is way late. My experience with OneDrive selective sync has not been fruitful - if you uncheck the dir (supposedly won't sync dir and files contained) you end up in an endless loop whereby you have to remove the dir/files from onedrive, but when you do that you can't deselect for sync. Symenu then creates the dir and file on next use and onedrive then syncs...on and on and on...I see from the next message that you plan to release with the config option to direct - this is good news! Thank you. I am not experiencing any negative affects from the workaround with readonly. thank you |