Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow log be directed to stdout instead of syslog #80

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Allow log be directed to stdout instead of syslog
* 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 and github-actions committed Apr 5, 2024
commit cf3a59aee502bf7519179584f0567c85814a8218
5 changes: 3 additions & 2 deletions app/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROG1 = dockerdwrapperwithcompose
OBJS1 = $(PROG1).o sd_disk_storage.o
PROG1 = dockerdwrapper
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