Skip to content

Commit

Permalink
update log script
Browse files Browse the repository at this point in the history
Signed-off-by: Zack Siri <[email protected]>
  • Loading branch information
zacksiri committed Nov 10, 2023
1 parent 8a37c11 commit b992191
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/pakman/bootstrap/templates/log.eex
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
#!/bin/execlineb -P
# Strip application additional timestamp
# Note: execlineb requires \ to be escaped as \\ and strings to be surrounded by " not '
pipeline { /bin/sed "s/[0-9]\\{4\\}\\/[0-9]\\{2\\}\\/[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\}:[0-9]\\{2\\}\\.[0-9]\\{3\\}//" }
s6-log -b n20 s1000000 T /var/log/<%= name %>

0 comments on commit b992191

Please sign in to comment.