summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c4e9c23..e40ded0 100644
--- a/Makefile
+++ b/Makefile
@@ -82,12 +82,12 @@ $(all-secrets.txt.gpg):
## Prints the latest 500 lines of the application and keeps tailing it.
logs:
- ssh $(TLD) tail -fn500 /var/log/$(APP).log
+ ssh $(TLD) tail -fn500 /var/log/$(APP)/$(APP).log
## Print *all* logs available on the server.
all-logs:
- ssh $(TLD) 'nicely cat /var/log/$(APP).log.* && \
- nicely gzip -c /var/log/$(APP).log' | gunzip
+ ssh $(TLD) 'nicely cat /var/log/$(APP)/$(APP).log.* && \
+ nicely gzip -c /var/log/$(APP)/$(APP).log' | gunzip
## Decrypt $(prod-secrets.txt) in `src/secrets/` and put them in their