tezoatlipoca / GeFeSLE-server

GeFeSLE - Generic, Federated, Subscribable List Engine
1 stars 0 forks source link

make logs more... consistent #74

Closed tezoatlipoca closed 4 months ago

tezoatlipoca commented 5 months ago
firewalld
2024-01-13 12:53:29 ERROR: Invalid option: 'ReloadPolicy=INPUT:DROP,FORWARD:DROP,OUTPUT:DROP'
2024-01-27 12:34:07 ERROR: Invalid option: 'ReloadPolicy=INPUT:DROP,FORWARD:DROP,OUTPUT:DROP'
2024-01-27 12:34:08 ERROR: Invalid option: 'ReloadPolicy=INPUT:DROP,FORWARD:DROP,OUTPUT:DROP'
2024-01-27 16:26:21 ERROR: Invalid option: 'ReloadPolicy=INPUT:DROP,FORWARD:DROP,OUTPUT:DROP'
2024-01-27 16:26:21 ERROR: Invalid option: 'ReloadPolicy=INPUT:DROP,FORWARD:DROP,OUTPUT:DROP'

jellyfin.log
[02:00:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[02:00:01] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2024-04-07 02:00:00.000 -04:00, which is 23:59:58.9988147 from now.
[11:25:46] [INF] [64] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: Scan Media Library
[11:25:46] [INF] [64] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task RefreshMediaLibraryTask
[11:25:46] [INF] [48] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Scan Media Library
[11:25:46] [INF] [48] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path /media/Movies
[11:25:46] [INF] [48] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[11:26:12] [INF] [93] Emby.Server.Implementations.ScheduledTasks.TaskManager: Scan Media Library Completed after 0 minute(s) and 26 seconds
[11:26:12] [INF] [93] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[11:26:12] [INF] [48] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/Movies

Apr 06 18:02:25 awadwatt postfix/pickup[26065]: warning: /etc/postfix/main.cf, line 848: overriding earlier entry: myorigin=$myhostname
Apr 06 18:02:25 awadwatt postfix/postlogd[26066]: warning: /etc/postfix/main.cf, line 845: overriding earlier entry: mydestination=$myhostname, localhost.$mydomain, localhost

yarr:
2024/04/06 18:26:48 worker.go:135: Finished refreshing 48 feeds
2024/04/06 18:56:42 worker.go:80: auto-refresh 30m: firing
2024/04/06 18:56:42 worker.go:105: Refreshing feeds
2024/04/06 18:56:48 worker.go:135: Finished refreshing 48 feeds
2024/04/06 19:26:42 worker.go:80: auto-refresh 30m: firing
2024/04/06 19:26:42 worker.go:105: Refreshing feeds
2024/04/06 19:26:48 worker.go:135: Finished refreshing 48 feeds
2024/04/06 19:56:42 worker.go:80: auto-refresh 30m: firing
2024/04/06 19:56:42 worker.go:105: Refreshing feeds
2024/04/06 19:56:53 worker.go:135: Finished refreshing 48 feeds

 writefreely.log
2024/04/06 19:38:07 "GET /api/nodeinfo" 200 2.573391ms "node"
2024/04/06 19:41:12 http: TLS handshake error from 37.187.78.82:40952: acme/autocert: host "www.awadwatt.com" not configured in HostWhitelist
2024/04/06 19:45:59 "GET /" 302 15.596µs "Ruby, mastodon 0.1.1"
2024/04/06 19:48:07 "GET /nodeinfo/2.0" 200 57.313µs "python-requests/2.31.0"
2024/04/06 19:48:11 "POST /api/collections/tezoatlipoca/inbox" 200 4.122185ms "http.rb/5.1.1 (Mastodon/4.3.0-nightly.2024-04-05; +https://mastodon.social/)"
2024/04/06 19:48:25 "POST /api/collections/metalsamurai/inbox" 200 3.231503ms "http.rb/5.1.1 (Mastodon/4.3.0-nightly.2024-04-05; +https://mastodon.social/)"
2024/04/06 19:48:27 "GET /tezoatlipoca/" 200 252.759545ms "http.rb/5.1.1 (Mastodon/4.2.8; +https://mstdn.strafpla.net/)"
2024/04/06 19:48:45 "POST /api/collections/tezoatlipoca/inbox" 200 3.686816ms "http.rb/5.1.1 (Mastodon/4.3.0-alpha.3+glitch; +https://pony.social/)"
2024/04/06 19:51:56 "GET /tezoatlipoca/feed/" 200 384.137434ms "Feedbin feed-id:2859334 - 1 subscribers"
2024/04/06 19:59:53 "POST /api/collections/tezoatlipoca/inbox" 200 3.41014ms "http.rb/5.1.1 (Mastodon/4.3.0-alpha.3+glitch; +https://pony.social/)"
tezoatlipoca commented 4 months ago

Good enough for now. DBg.d now auto detects the calling fn name, file and line # for trace and debug level statements:

2024-05-15T23:23:56 DEBUG | [UpdateSessionAccessTime//UserSession.cs:42] User backadmin [SuperUser] TO /lists FROM 10.0.0.76
2024-05-15T23:23:56 TRACE | [IsUserAllowedToView//GeList.cs:300] backadmin ? Chorz for RJ
2024-05-15T23:23:56 DEBUG | [IsUserAllowedToView//GeList.cs:349] backadmin allowed: True - Related list is OWNER access. User is a list owner/creator.
2024-05-15T23:23:56 TRACE | [IsUserAllowedToView//GeList.cs:300] backadmin ? INBOX
2024-05-15T23:23:56 DEBUG | [IsUserAllowedToView//GeList.cs:349] backadmin allowed: True - Related list is PRIVATE access. User is the creator.
2024-05-15T23:23:56 TRACE | [IsUserAllowedToView//GeList.cs:300] backadmin ? MOZTEST
2024-05-15T23:23:56 DEBUG | [IsUserAllowedToView//GeList.cs:349] backadmin allowed: False - User backadmin is not a list owner/creator of list MOZTEST
2024-05-15T23:23:56 WARN  | /lists (GET) SuperUser bypassed list permissions for MOZTEST
2024-05-15T23:23:56 TRACE | [IsUserAllowedToView//GeList.cs:300] backadmin ? Randy's List Of Awesome Things
2024-05-15T23:23:56 DEBUG | [IsUserAllowedToView//GeList.cs:349] backadmin allowed: True - List is public