Hi Alex,

The CLI is automatically changing the threshold for the log4j console
appender. You can supply -vvvv to the CLI to enable output at debug level.
You can also supply your own log4j.properties with customized loggers
through the environment (the example below also includes how you enable
debugging):

DT_CLIENT_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n
-Dlog4j.configuration=file:///somewhere/mylog4j.properties

HTH,
Thomas


On Fri, Aug 19, 2016 at 7:52 AM, McCullough, Alex <
[email protected]> wrote:

> Hey,
>
>
>
> I have an app I am launching an app through the local cli
> (apex-cor/engine/src/main/scripts/apex, then launch –local) and I was
> wondering if there was a way to get the logs to print to the apex console?
> I could log to some file and then tail the file separately, but it would be
> easier if I could launch the app and then watch my logs.
>
>
>
> Thanks,
>
> Alex
>
> ------------------------------
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The information
> transmitted herewith is intended only for use by the individual or entity
> to which it is addressed. If the reader of this message is not the intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, distribution, copying or other use of, or taking of any
> action in reliance upon this information is strictly prohibited. If you
> have received this communication in error, please contact the sender and
> delete the material from your computer.
>

Reply via email to