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.

completely silent startup, for use when scripting

See original GitHub issue

sbt always prints these lines when it starts:

[info] Loading global plugins from /Users/tisue/.sbt/plugins
[info] Loading project definition from /Users/tisue/nl.headless/project

Is there a way to make it not? It messes up trying to pipe the output of commands around in the Unix shell.

this was requested on the mailing list https://groups.google.com/d/msg/simple-build-tool/VZFLPc-TWPw/2B6jx5Y_JF0J and at the time @harrah suggested opening a ticket, but I couldn’t find one

related: #316, which was about overall levels of noisiness. this ticket is about being able to reduce noise all the way to zero when desired.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:25 (18 by maintainers)

github_iconTop GitHub Comments

8reactions
willis7commented, Jun 8, 2018

Its bizzare to me that I call a task asking for the version, and I get loads of unwanted logging information. It makes the task useless for any scripting tasks (unless I pipe to an elaborate squence of cmd tools). This is what I want:

$ sbt ‘show version’ 0.1-SNAPSHOT

Why does sbt make this so difficult?

5reactions
ritschwummcommented, Dec 7, 2015

this reminds me of a related problem: when i call sbt 'show someSetting' from a script, the output is always prefixed with [info]. i can remove that with sed, but there might be a better way. ideas, anyone?

Read more comments on GitHub >

github_iconTop Results From Across the Web

silent installation with startup scripts - Clark Labs Support Center
Hi, I'm able to do a silent installation of IDRISI by passing /s to the setup executable, but when I run it as...
Read more >
Running a CMD or BAT in silent mode - Stack Overflow
I think this is the easiest and shortest solution to running a batch file without opening the DOS window, it can be very...
Read more >
Silent mode for the install script (advanced)
Use: Specify the name of target startup daemon. Contains the name of the daemon startup script. Use this if you do not want...
Read more >
[Powershell] script OK manually started, partially fail as a ...
When the script start with startup GPO or scheduled task : 3 ".exe" install flawlessly. 3 utterly fail no idea why.
Read more >
Setup Command Line Parameters - Inno Setup Help
Of course, this will have no effect if the DisableStartupPrompt [Setup] section directive was set to yes. /SILENT, /VERYSILENT. Instructs Setup to be...
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