scullyio / scully

The Static Site Generator for Angular apps
https://scully.io/
MIT License
2.55k stars 257 forks source link

New logSeverity command line option does not work #1119

Closed EatonZ closed 2 years ago

EatonZ commented 4 years ago

🐞 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: 

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
EatonZ commented 4 years ago

@SanderElias @jorgeucano I'm sorry, but this still doesn't appear to be fixed. Have you actually tested this feature? Re-run my sample app and you can still see a log file generated with Scully 1.0.6.

SanderElias commented 4 years ago

It didn't create one in my tests. But I do have a suspicion. Will look into this

EatonZ commented 3 years ago

@SanderElias Have you had time to take a look?

SanderElias commented 3 years ago

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

EatonZ commented 3 years ago

@SanderElias Which PR are you referring to? If it's already been merged let me know so I can check this and close if fixed.

SanderElias commented 3 years ago

I'm really unsure. If you check and find it id still open, please let me know

EatonZ commented 3 years ago

@SanderElias Checked today and the log file is still generated despite --logSeverity=none. Version 1.1.1

SanderElias commented 2 years ago

@EatonZ I just checked the code, and with the new setup of the way the background server is started, this should no longer create the file. (I checked 2.1.27). Can you confirm?

EatonZ commented 2 years ago

@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.