Skip to content

Commit

Permalink
Allow log be directed to stdout instead of syslog (#170)
Browse files Browse the repository at this point in the history
* Allow log be directed to stdout instead of syslog

* Add timestamp to stdout log lines

* Move documentation to source code
  • Loading branch information
killenheladagen authored Apr 5, 2024
1 parent 9efaa51 commit c9be636
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 108 deletions.
3 changes: 2 additions & 1 deletion app/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROG1 = dockerdwrapper
OBJS1 = $(PROG1).o sd_disk_storage.o
OBJS1 = $(PROG1).o log.o sd_disk_storage.o

PKGS = gio-2.0 glib-2.0 axparameter axstorage
CFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --cflags $(PKGS))
Expand All @@ -15,6 +15,7 @@ all: $(PROG1)
$(PROG1): $(OBJS1)
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) $(LDLIBS) -o $@

$(PROG1).o log.o: log.h
$(PROG1).o sd_disk_storage.o: sd_disk_storage.h

clean:
Expand Down
Loading

0 comments on commit c9be636

Please sign in to comment.