â¨ī¸CLI
Capture logs from terminal!
Install Dashcam from NPM
The Dashcam CLI is available via npm:
You can make sure it's installed correctly by running the following command
Capture logs from your shell
Simply type dashcam record
to capture logs from the current shell session.
Capture logs from every new session
Now, to ensure we capture the logs from your CLI, we need to edit the .bashrc
or .zshrc
. If you need help with this, be sure to join our Discord.
Open your profile, and add the following line to the end:
Now, close your terminal and open it again. You should see a confirmation that Dashcam is now tracking your CLI!
Capture terminal logs manually
Alternatively, there's a way to capture logs manually without using the CLI using tee
command, for Unix and Unix-like operating systems.
Name the entry
Choose Application
Add the path
/tmp/myapp.log
Hit Save
Start a capture on Dashcam desktop
Then in your terminal this is how you can start it:
Where:
<command>
is a shell command which starts your app or service such asnpm start
orpython app.py
/tmp/myapp.log
is the path specified in step 3
Last updated