Erik Karlsson
def81d62d5
logmngr: include pid when migrating also
...
(cherry picked from commit 46dc9e86d8 )
Co-authored-by: Erik Karlsson <erik.karlsson@iopsys.eu>
2025-10-13 19:21:13 +05:30
Vivek Dutta
064418e23d
logmngr: include pid in log output by fluent-bit
...
(cherry picked from commit 0b3420240d )
Co-authored-by: Mohd Husaam Mehdi <husaam.mehdi@iopsys.eu>
2025-10-12 11:38:13 +05:30
Vivek Dutta
9eee6a59f8
logmngr: Fix /dev/log permission to allow all processes to write
...
(cherry picked from commit 60dafc2028 )
047d345b logmngr: /dev/log permissions should allow all processes to write
Co-authored-by: Husaam Mehdi <husaam.mehdi@iopsys.eu>
2025-09-22 18:58:16 +05:30
Husaam Mehdi
9177090e7c
logmngr: 1.1.4
2025-09-16 15:33:55 +05:30
Mohd Husaam Mehdi
8001d9d14b
logmngr: fix severity and facility configuration issues
2025-09-16 15:32:31 +05:30
Husaam Mehdi
28c22277cd
logmngr: use multiple workers for logging
2025-09-16 15:32:31 +05:30
Erik Karlsson
a82c3562f2
logmngr: use fluent-bit filters to adapt kmsg fields and add hostname
2025-09-16 15:32:31 +05:30
Erik Karlsson
d6e6747380
logmngr: miscellaneous fixes
...
Always migrate configuration. Do not set executable bit on config
files and uci-defaults scripts. Remove unused /lib/functions.sh
include. Remove redundant "default y" on choice.
2025-09-16 15:32:31 +05:30
Husaam Mehdi
9cf65109e8
logmngr: add support for Syslog Source and Template
2025-09-16 15:32:31 +05:30
Markus Gothe
819b9e3e97
logmngr: Make sure we never fail to setup /var/log/messages.
...
If it fails during MP the verfication of buttons will not work
as expected. The problem is that the file is created before
data is commited and when power is cut prematurely it won't
re-create the file, maybe because the uci-default script has
been removed already as well.
2025-09-16 15:32:31 +05:30
Vivek Kumar Dutta
05cf17b007
logmngr: fix /dev/log creation
2025-09-16 15:32:31 +05:30
Vivek Kumar Dutta
4538e26d87
logmngr: generate kmsg,log config if dev exists
2025-09-16 15:32:31 +05:30
Husaam Mehdi
c45695ce93
logmngr: Use kmsg module instead of klogd
2025-09-16 15:32:31 +05:30
Husaam Mehdi
e8124555bb
logmngr: Include kernel logs
2025-09-16 15:32:31 +05:30
Vivek Kumar Dutta
a1e7f80ae0
logmngr: 1.0.17
2025-06-24 18:13:35 +05:30
Husaam Mehdi
5b090176a1
logmngr: Fix shadow variable names in lib
2025-06-12 14:34:46 +05:30
Mohd Husaam Mehdi
e6df8f9ad0
logmngr: add support for conf_dir in generated logrotate config
2025-06-04 15:02:45 +05:30
Mohd Husaam Mehdi
c8bbe8725a
logmngr: enable hot reload for fluent-bit
2025-05-26 17:47:18 +05:30
Mohd Husaam Mehdi
971d1ca37e
logmngr: add support for including config files in fluent-bit
...
* config files can be placed at /etc/fluent-bit/conf.d/ and
they will be included
2025-05-26 11:46:38 +05:30
Mohd Mehdi
38763bfc0d
logmngr: set fluent-bit coro_stack_size option to prevent segfault
2025-04-29 21:37:47 +05:30
Erik Karlsson
c366451def
logmngr: fix creation of logrotate configuration
2025-04-15 09:28:39 +02:00
Erik Karlsson
5874a005c6
logmngr: install logread to /sbin
...
It was being installed to /usr/sbin as workaround for conflict with
logd package. The correct solution is to not select logd package.
2025-04-15 09:22:16 +02:00
Vivek Kumar Dutta
2a47619b32
logmngr: multiple fixes
...
- Fix regression in generating log-rotate policy
- Fix logread output in case of file rotation
2025-03-24 18:37:58 +05:30
Vivek Kumar Dutta
f2c665a0cf
logmngr: Fix remote logging
2025-03-24 16:45:38 +05:30
Erik Karlsson
1dca89c130
logmngr: use busybox klogd alongside fluent-bit
2025-03-21 22:24:29 +01:00
Erik Karlsson
63d3ca365b
logmngr: remove fluent-bit kmsg support
...
Also remove apply_config_file which is dead code.
2025-03-21 17:48:39 +01:00
Vivek Kumar Dutta
5a7e44cd04
logmngr: include kernel logs
2025-03-20 18:11:36 +05:30
Vivek Kumar Dutta
a50c380722
logmngr: assign priority to dm plugin
2025-03-13 12:11:12 +05:30
Vivek Kumar Dutta
9e1a8de1bd
logmngr: avoid uci commit in uci-defaults
2025-03-05 10:18:22 +05:30
Amin Ben Romdhane
634d40fa01
logmngr: 1.0.9
2025-02-21 15:45:37 +01:00
Erik Karlsson
1567b1facb
logmngr: make logging more responsive
...
Flush every second.
2025-01-22 11:45:13 +00:00
Suvendhu Hansa
ae1189c0d2
logmngr: Fix missing startup logs
2025-01-14 15:43:22 +05:30
Vivek Kumar Dutta
c0b146a3fe
logmngr: Updated unique datamodel parameters
2024-12-11 12:33:11 +05:30
Rahul Thakur
6c7aa21626
logmngr: fix syslog-ng conf generation
2024-12-10 10:16:26 +00:00
Amin Ben Romdhane
0fe5d2a232
logmngr: Align with sysmngr
2024-11-06 15:10:15 +01:00
Rahul Thakur
cd1f81c8d9
update package logmngr
...
* fix uci defaults
* 37f9eef make protocol writable
2024-10-21 09:58:06 +00:00
Rahul Thakur
31ed2ae746
update package logmngr
...
*5e7c684 Fix data model params
* d23dcdf logmngr: add README
2024-10-17 14:31:30 +05:30
Vivek Kumar Dutta
98e53ae941
logmngr: 1.0.3
2024-10-10 16:02:51 +05:30
Suvendhu Hansa
7fae7acc91
logmngr: 1.0.2
...
- Added prefix with rotated log filename to distinguish
with actual log files
- Fix compression value
- Moved VendorLogFiles datamodel from bbfdm to logmngr
2024-10-10 04:10:22 +00:00
Amin Ben Romdhane
aab45b16b0
Added libbbfdm-ubus and dm-service as dependencies for all microservices
2024-10-09 09:54:16 +02:00
Rahul Thakur
fa9bfb428e
logmngr: implement fail2ban for ssh
...
* handle both openssh and dropbear for fail2ban
2024-08-16 12:21:30 +00:00
Rahul Thakur
ab2766f79b
logmngr: integrate fail2ban
2024-08-16 12:21:30 +00:00
Rahul Thakur
d1f16dc432
logmngr: add logrotate support
...
* add support for logrotate functionality to logmngr
2024-08-06 08:43:32 +00:00
Mohd Husaam Mehdi
fdf005fd8f
logmngr: update data model implementation
...
update to use correct data type for FilePath param and add
DM_REFERENCE flag to VendorLogFile param
2024-08-02 07:12:28 +00:00
Mohd Husaam Mehdi
3ee64793cc
logmngr: add support for Device.Syslog. datamodel object
2024-07-25 16:51:28 +05:30
Rahul Thakur
91e9278cba
logmngr: add logread and default uci config
...
* all logging packages have a custom implmentation for logread,
which is a command that can be invoked to view the logs. Hence,
it makes sense for logmngr to have a logread to accompany it
as well. Support for the same is added via this commit.
* the approach is simplistic and follows syslog-ng with the
slight enhancement of reading the logfile from logmngr uci
* support to generate default uci config for logmngr which is
to write logs to /var/log/messages
2024-07-23 10:32:18 +00:00
Rahul Thakur
10f3015d32
logmngr: remote uci option file_path
...
* this is a bit of an overkill and not needed. Instead, we can use
option file to have full path to file including file name.
example: /var/log/messages
* other formatting errors and remove unused function in syslog-ng
2024-07-18 15:48:51 +05:30
Rahul Thakur
3e14637e3d
logmngr: add support for syslog-ng backend
...
- add lib script to convert logmngr uci to syslog-ng.conf
- update makefile to install proper lib file
- fix couple of minor bugs found in fluent-bit.sh
- fix fluent-bit makefile to download code from git
2024-07-18 07:09:41 +00:00
Rahul Thakur
eb7fe9572d
logmngr: add package
...
* add logmngr pkg makefile
* add logmngr lib file for fluent-bit as backend
* add logmngr init file
2024-07-15 12:51:45 +00:00