Re: [sbt] Supressing log output when running scalas (sbt.ScriptMain)

43 views
Skip to first unread message

Mark Harrah

unread,
Dec 3, 2012, 8:49:50 AM12/3/12
to simple-b...@googlegroups.com
On Mon, 26 Nov 2012 17:44:26 -0800 (PST)
Dan Kozlowski <dan.ko...@gmail.com> wrote:

> I am trying to run a scala script using SBT to fetch some dependicies,
> however I am having a hard time supressing the initial line sbt outputs
> when you run the script
>
> [info] Set current project to default-7d8875 (in build ....)
>
> Is there a way to make it not output that message as it messes up trying to
> pipe the output of commands around between utilities

Configuring logging at startup could use some work. I'm not sure there is a clean way to remove that message right now. You might try the workaround of setting:

onLoadMessage := ""

in the script. Can you open a bug for it either way?

-Mark

> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/2B6jx5Y_JF0J.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>

Reply all
Reply to author
Forward
0 new messages