Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squelch debug logging in GUI #27

Closed
bodom0015 opened this issue Apr 6, 2016 · 1 comment
Closed

Squelch debug logging in GUI #27

bodom0015 opened this issue Apr 6, 2016 · 1 comment
Assignees

Comments

@bodom0015
Copy link
Member

The frontend logs are currently fairly noisy. Since we are using AngularJS's $log service, this should be fairly simple, and can be accomplished by calling the following during app.config():

$logProvider.debugEnabled(false);

This will prevent $log from propagating $log.debug() events, and should only show the other levels of log activity. Furthermore, the start.sh -d command could substitute true (via sed), to allow you to see the debug output when starting in "developer mode".

bodom0015 added a commit to bodom0015/ndslabs that referenced this issue Apr 12, 2016
@bodom0015 bodom0015 self-assigned this Apr 12, 2016
@craig-willis
Copy link
Collaborator

Reviewed changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants