⌨️CLI
Capture logs from terminal!
Install Dashcam from NPM
The Dashcam CLI is available via npm:
npm install dashcam -gYou can make sure it's installed correctly by running the following command
dashcam versionCapture logs from your shell
Simply type dashcam record to capture logs from the current shell session.
❯ dashcam record
This session is being recorded by Dashcam
Type `exit` to stop recordingCapture 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:
dashcam recordNow, 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.logHit Save
Start a capture on Dashcam desktop

Then in your terminal this is how you can start it:
<command> 2>&1 | tee -a /tmp/myapp.logWhere:
<command>is a shell command which starts your app or service such asnpm startorpython app.py/tmp/myapp.logis the path specified in step 3
Last updated
Was this helpful?