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.

log file is written on each poll

See original GitHub issue

I get the following logs in the eclipse console on each wwd-poll and it writes a log file for each poll in the eclipse/.metadata-folder. I did not configure anything with wwd. I only installed it and it makes such a noise by making polls and repeated logs:

[Info]	Using @angular/language-service v9.0.0-next.8 from /Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.wildwebdeveloper_0.5.3.201912031954/language-servers/node_modules/@angular/language-service
[Warning]	Using less efficient polling watcher. Set TSC_NONPOLLING_WATCHER to true.
[Info]	Disabling language service for /Users/workspace/ide/test/src/main/webapp/WEB-INF/tsconfig.json because it is not an Angular project.
[Error]	No config file for /Users/workspace/ide/test/src/main/webapp/WEB-INF/node_modules/crypto-browserify/example/index.html
[Info]	Using typescript v3.5.3 from /Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.wildwebdeveloper_0.5.3.201912031954/language-servers/node_modules/typescript
[Info]	Using @angular/language-service v9.0.0-next.8 from /Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.wildwebdeveloper_0.5.3.201912031954/language-servers/node_modules/@angular/language-service
[Info]	Log file: /Users/workspace/ide/.metadata/angular-language-server-1577301845397.log
[Info]	Angular Language Service is running under DEBUG mode
[Warning]	Using less efficient polling watcher. Set TSC_NONPOLLING_WATCHER to true.
[Info]	Using typescript v3.5.3 from /Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.wildwebdeveloper_0.5.3.201912031954/language-servers/node_modules/typescript
[Info]	Using @angular/language-service v9.0.0-next.8 from /Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.wildwebdeveloper_0.5.3.201912031954/language-servers/node_modules/@angular/language-service
[Info]	Log file: /Users/workspace/ide/.metadata/angular-language-server-1577301871030.log
[Info]	Angular Language Service is running under DEBUG mode

On each poll, this log is shown and a log file is written in /Users/workspace/ide/.metadata/. I have found out that wwd writes over 3000 log files - so much garbage with same messages which can be avoided by default. Why does wwd makes so much logs and why does wwd-log says:

Using less efficient polling watcher. Set TSC_NONPOLLING_WATCHER to true.

Why does wwd not use the more efficient polling watcher by default when it already knows that it uses a less efficient polling watcher?

Disabling language service for /Users/workspace/ide/test/src/main/webapp/WEB-INF/tsconfig.json because it is not an Angular project.

Why does wwd annoy me with such messages when wwd already knows that this is not an angular project?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
jabbycommented, Jan 24, 2020

Hello @nimo23

I just started to investigate your problem. I will try to summarize all problems and solutions.

Now I will work on the codebase in order to provide a patch about log files.

0reactions
mickaelistriacommented, Jan 28, 2020

We can release Wild Web Developer any time. Last release was last week. Is there any change you think is worth releasing soon?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Most efficient way to tail/poll a log file in Java - Stack Overflow
The question is what/how do I go about polling a file which is actively being written to. AFAIK there is no way in...
Read more >
Rolling logs and trace polling for client applications that ... - IBM
When rolling logs are enabled, the log information is written to a trace file that is named with a .0 suffix. The .0...
Read more >
log write elapsed time' (Doc ID 2372105.1) - My Oracle Support
Long Wait on Log File Sync Wait Event with Message 'Log file sync switching to polling' and 'Warning: log write elapsed time' (Doc...
Read more >
Log file - definition & overview - Sumo Logic
Log management systems centralize all log files, to gather sort and analyze log data, and make it easy to understand, trace, and address...
Read more >
Monitor Log file - Forum - Server & Application Monitor (SAM)
If I have an application that writes a log file and I want to know if any ORA errors are written, is that...
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