When '/var/log/osmocom.log' does not exist the cell_log
app can not start normally because it has no permissions
to create a new file. Furthermore, logfile is optional now.
---
src/host/layer23/src/misc/app_cell_log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/host/layer23/src/misc/app_cell_log.c
b/src/host/layer23/src/misc/app_cell_log.c
index a7f42c3..5b7f7b4 100644
--- a/src/host/layer23/src/misc/app_cell_log.c
+++ b/src/host/layer23/src/misc/app_cell_log.c
@@ -43,7 +43,7 @@ extern void *l23_ctx;
extern uint16_t basic_band_range[][2];
extern uint16_t (*band_range)[][2];
-char *logname = "/var/log/osmocom.log";
+char *logname = "/dev/null";
int RACH_MAX = 2;
int _scan_work(struct osmocom_ms *ms)
--
1.9.1
Show replies by date