Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
archive debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
larsks committed Feb 17, 2012
1 parent 5e3f2b3 commit 4a013d4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions archive-debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

spooldir=/var/spool/envoy
debugdir=$spooldir/debug/$(date +%Y-%m-%d)

mkdir -p $debugdir
mv $spooldir/*.request $spooldir/*.response $debugdir

0 comments on commit 4a013d4

Please sign in to comment.