// be used to display pre-publish messages for the application when
// publishing the application for the first time.
// Do not start tailing the application console when writing to local
// standard out as tailing is meant for application
// log streaming and it requires the application to be published.
LogContentType type = isError ? StandardLogContentType.STD_ERROR : StandardLogContentType.STD_OUT;
CloudFoundryConsole serverLogTail = getApplicationLogConsole(server, appModule);
if (serverLogTail != null) {
if (clear) {