Re: [DISCUSS] log guidelines

2023-12-06 Thread Daan Hoogland
Thanks João, On Tue, Dec 5, 2023 at 8:21 PM João Jandre Paraquetti wrote: ... > However, when the error happens because of system degradation, there are > times when having a stacktrace can save hours of debugging, as the error > might be hard to reproduce. Also, if the error is occurring in a

Re: [DISCUSS] log guidelines

2023-12-05 Thread João Jandre Paraquetti
Hello all, As someone who has worked a lot on logging in this project, I feel like a set of log guidelines are a good addition. I generally agree with Daan's ideas; however, I think that the error level was oversimplified. As Daan already said, there are two main reasons for error logs: "the

[DISCUSS] log guidelines

2023-12-04 Thread Daan Hoogland
There have been some discussions on github PRs about the subject of proper logging and I want to use this to start a discussion and come to some guidelines that hopefully everybody can agree to. My idea is the following Fatal: - include a reason why the system can not function anymore, - be