Skip to content

Commit f25c4dc

Browse files
authored
APP-15641 Include log-viewing directions at end of install script (#216)
1 parent 44f889a commit f25c4dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,14 @@ main() {
336336
echo && echo && echo
337337
echo "Viam Agent has been installed and started successfully."
338338
echo "You may return to your machine at https://app.viam.com/ to continue configuring."
339+
echo && echo
340+
if [ "$OS" = "Linux" ]; then
341+
echo "Local logs are viewable through 'journalctl -u viam-agent' or 'systemctl status viam-agent'"
342+
else
343+
echo "Local logs are viewable at the following path: /var/log/viam-agent.log"
344+
echo "Use 'less', 'cat', 'tail', etc. to view them"
345+
echo "Logs are also viewable through the Console MacOS app under 'Log Reports'"
346+
fi
339347
}
340348

341349
main

0 commit comments

Comments
 (0)