manuskript/manuskript
worstje b2817b5f08
Friendly logging for end users (#859)
* Changed default logging behaviour

We now log by default to a timestamped file in $datadir/logs/. No longer
shall restarting Manuskript after a crash wipe a very useful logfile.

Logs older than 35 days in the $datadir/logs/ directory are pruned
during startup. In case of subtle corruption detected a few weeks after
the fact, relevant logs might still exist to explain what had happened...
yet it does not come at the cost of infinitely gobbling up a users
storage space, either.

The --logfile (-L) argument can now utilize strftime() specifiers. A
special modifier %# is also supported which will insert the process id.
Besides being an added factor of uniqueness for a filename, it can also
be relevant to help identify the log file belonging to a misbehaving
Manuskript process.

* Added support-related items to Help menu

The 'Technical Support' item should lead to a landing page that will
guide the user to the most efficient way to resolve their problem.
How to report bugs and submit logs would be one of those.

The 'Locate Log File' item should open a file manager window with the
logfile of this session highlighted. Because Manuskript is still writing
to it, we first remind them of its limited use until Manuskript is
closed.

This approach was chosen because users might want to locate the file
prior to reproducing a bug, or because they'd like to look at other logs
from previous sessions.

* Updated translation files and added german translation

Co-authored-by: TheJackiMonster <thejackimonster@gmail.com>
2021-04-13 13:32:46 +02:00
..
converters Converted most print statements to use logging 2021-04-08 18:44:28 +02:00
exporter Fixed pandoc command arguments (#790) 2021-04-10 14:58:00 +02:00
functions Friendly logging for end users (#859) 2021-04-13 13:32:46 +02:00
importer Fixed all Python syntax warnings 2021-02-21 23:45:34 +01:00
load_save Merge pull request #667 from worstje/arguments-and-logging 2021-04-08 19:37:09 +02:00
models Combined #777 with changes from #827 2021-04-10 14:46:03 +02:00
tests Fixing the tests for travis-CI 2021-04-09 19:19:03 -04:00
ui Friendly logging for end users (#859) 2021-04-13 13:32:46 +02:00
__init__.py Renaming source folder 2016-02-06 08:38:33 +01:00
enums.py Add global search 2021-04-02 14:15:17 +01:00
loadSave.py Converted most print statements to use logging 2021-04-08 18:44:28 +02:00
logging.py Friendly logging for end users (#859) 2021-04-13 13:32:46 +02:00
main.py Additional logging centered around sys module 2021-04-08 18:44:28 +02:00
mainWindow.py Friendly logging for end users (#859) 2021-04-13 13:32:46 +02:00
searchLabels.py Add global search 2021-04-02 14:15:17 +01:00
settings.py Converted most print statements to use logging 2021-04-08 18:44:28 +02:00
settingsWindow.py Fixed issue #817 with the settings style picking 2021-02-21 23:59:23 +01:00
version.py ========== manuskript-0.11.0 ========== 2020-01-18 10:37:45 -07:00