Allen Versfeld on Nostr: I'm struggling to change my logging level. According to the docs on joinmastodon.org, ...
I'm struggling to change my logging level. According to the docs on joinmastodon.org, I should be adding RAILS_LOG_LEVEL=$loglevel to my environment, where $loglevel is one of info, warn, error, fatal or unknown.
I've added export RAILS_LOG_LEVEL=warn to my init script but it's still pumping out info level stuff. Any suggestions?
#mastoadmin
Published at
2023-06-26 08:21:59Event JSON
{
"id": "2e4a362a5212c53c24198e7ccb270c3c7e6c3c5a562beb877905e0079b60b47c",
"pubkey": "2f058430821e0c31ed411ebfaacae4265aeae1b64da703b70be018c8327968df",
"created_at": 1687767719,
"kind": 1,
"tags": [
[
"t",
"mastoadmin"
],
[
"content-warning",
"Mastodon admin tech help"
],
[
"mostr",
"https://mastodon.monoceros.co.za/users/uastronomer/statuses/110609545246057492"
]
],
"content": "I'm struggling to change my logging level. According to the docs on joinmastodon.org, I should be adding RAILS_LOG_LEVEL=$loglevel to my environment, where $loglevel is one of info, warn, error, fatal or unknown.\n\nI've added export RAILS_LOG_LEVEL=warn to my init script but it's still pumping out info level stuff. Any suggestions?\n\n#mastoadmin",
"sig": "a02dc544d80c8616e87ee196bfb826415fc3508fd0987231a2cb374c3dc6bb2737908b5d1426a6e0f440a741b16ea0493a8d70d80187db9a2c1adaed3970c9d5"
}