Comments (2)
@hjyoung1
This has been discussed in the past. We decided to avoid doing this due to the limitations that it has compared to the real log. We gave this feature on the web client because there's no alternative way to get the logs in you're remote on a browser.
However, if you have access to the terminal, ssh command is the preferred way to get the logs.
from caprover-cli.
All you need to do is to run
ssh [email protected] 'docker service logs srv-captain--yourappnamehere --since 10m --follow'
This will display the logs for the past 10 minutes. If you want it to exit immediately, just remove --follow
flag. As you can see, there is no point behind adding a log to the CLI.
from caprover-cli.
Related Issues (20)
- Stuck in the middle when entering 2nd bad password in serversetup HOT 20
- Confusing dashboard button aspect HOT 5
- Docker image v2.2.3 is missing
- Error "Cannot find hash of last commit on branch" HOT 18
- PR approved pending publication in NPM HOT 1
- caprover deploy: Cannot find hash of last commit on branch "master" caused by git as root error HOT 12
- GitLab CI/CD Issue HOT 2
- Error: manifest for node:18.00-alpine not found HOT 2
- stuck/hangs when deploying HOT 1
- -t option is used with tarFile and appToken HOT 1
- Something bad happened during authentication HOT 1
- captain-definition file is not a valid JSON! HOT 6
- Fetching build logs when using app access token HOT 2
- Caprover backup using CLI HOT 2
- How to see users in localMachine and change ip? HOT 1
- Is it possible to use --caproverUrl without domain ? HOT 1
- Git error messages are hidden when getting error on a branch
- Error: self signed certificate (Local network) HOT 1
- Title: Issue with Constant.ts file not reflecting environment variable override in built Constants.js HOT 1
- Add environment variables via deploy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caprover-cli.