question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New logSeverity command line option does not work

See original GitHub issue

🐞 Bug report

Description

The new logSeverity command line option added https://github.com/scullyio/scully/pull/988 unfortunately does not appear to be working. A log file still gets created.

🔬 Minimal Reproduction

npm build this application, then npm scully. Observe the created scully.log file. Notice how in package.json, I added --logSeverity=none to scully.

💻Your Environment

Angular Version:


Angular CLI: 10.2.0
Node: 15.1.0
OS: win32 x64

Angular: undefined
...
Ivy Workspace: <error>

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1002.0 (cli-only)
@angular-devkit/core         10.2.0 (cli-only)
@angular-devkit/schematics   10.2.0 (cli-only)
@schematics/angular          10.2.0 (cli-only)
@schematics/update           0.1002.0 (cli-only)

Scully Version:


1.0.4

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
SanderEliascommented, Jan 26, 2021

Yes, it isn’t fixed yet, but i’m working on a pr that will solve this as a side-effect.

0reactions
EatonZcommented, Jun 27, 2022

@SanderElias I attempted to build the sample project today, but it seems it’s too old and throwing errors on npm install. I’ll take your word for it if you noticed the issue no longer occurs. I do not have any active Angular projects right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

An invalid command-line option was provided - 9.2
If one or more command-line arguments were provided for the bin/start-server command and any of them is not recognized, then the server provides ......
Read more >
C++ Pass Boost::log severity level as argument to function
Seems that my level argument have an incorrect type. I also tried to use logging::trivial::severity_level level instead of auto level , but this ......
Read more >
How To Use Google Logging Library (glog)
You can log messages by severity level, control logging behavior from the command line, log based on conditionals, abort the program when expected...
Read more >
Command Line Options - Scully.io
Starts the scully server. This process does not build the project. It only serves the Angular build files, and the Scully static files....
Read more >
Severity at which messages are logged - MATLAB - MathWorks
--log-severity level ... error — Notification of problems or unexpected results. ... For on-premises server instances created using the command line, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found