Kristoffer Bakkejord

Results 45 comments of Kristoffer Bakkejord

I was playing around with docker-nfs-server (in Kubernetes on Docker Desktop), and got it working. I'm not sure what happened in the meantime, but after some days it wouldn't start,...

I run the NFS server in `erichough/nfs-server`, the only the `modprobe` command was run in the Debian image.

Here is a setup that works for me; note that I'm using Docker Desktop, so some modifications may be needed: https://gist.github.com/kbakk/097453c445a72e99573a5089c1c3d0dc

Hi, I'm seeing some issues with using Sentry and Loguru. Here's a reproducer: t.py ```py import logging import os import sys from loguru import logger import sentry_sdk class InterceptHandler(logging.Handler): def...

Playing around a bit, I tried changing ```diff # Find caller from where originated the logged message frame, depth = logging.currentframe(), 2 - while frame.f_code.co_filename == logging.__file__: + while (...

The above is similar to what @fratambot writes in https://github.com/Delgan/loguru/issues/509

Link to discussion: https://news.ycombinator.com/item?id=30126152

I can see if I manage to submit a PR, will update here once ready.

> I also work with a lib where I don't have much control over their use of the built-in logger, and so I have this snippet as well to intercept...

We're seeing this as well, same situation where we have several deploys for the same commit (monorepo).