Martin Hoffmann on Nostr: Two questions for sysadmins: (1) Let’s say you have a daemon and configured it to ...
Two questions for sysadmins:
(1) Let’s say you have a daemon and configured it to log to a file. What do you expect the daemon to do if it can’t write to the file anymore?
(2) Let’s say you can tell said daemon to re-open its log file through a signal. What do you expect it to do if opening the log file fails?
Published at
2023-05-03 09:33:45Event JSON
{
"id": "84bf5527f810160a2e9fbfab8db4f81a7491ddf24514a7b2a65702b37ffaa460",
"pubkey": "ea2019798795885eba3c54a1d7349ccdd41fcb2a9c011960b9d3a5e8ffc49bfe",
"created_at": 1683106425,
"kind": 1,
"tags": [
[
"mostr",
"https://social.tchncs.de/users/partim/statuses/110304062675187980"
]
],
"content": "Two questions for sysadmins:\n\n(1) Let’s say you have a daemon and configured it to log to a file. What do you expect the daemon to do if it can’t write to the file anymore?\n\n(2) Let’s say you can tell said daemon to re-open its log file through a signal. What do you expect it to do if opening the log file fails?",
"sig": "baa96828e76b1549158a3071e970be15d1fc1a520d25e9ac64c7675392c9b9524f291b5f504b493c9b61166bf4b889584dc4a8268946e0849a2d056902425c69"
}