default tomcat , when you print, logging should goes to catalina.out.
In any case, check logging.properties in tomcat directory on where the
logging configured.

as for realm, it can be configure in the context element, which mean
in the META-INF/context.xml, see
https://tomcat.apache.org/tomcat-8.0-doc/realm-howto.html#Configuring_a_Realm

On Sun, May 12, 2019 at 10:40 AM Karen Goh <karenwo...@yahoo.com.invalid> wrote:
>
> Hello experts,
>
> Currently, I am uploading a new .war file up to my hosting company.
>
> However, I am puzzled how things work and would like to check what is the 
> norm out there.
>
> They are using httpd apache server and tomcat.
>
> Basically, I have subscribed a private Tomcat server so I get an instance of 
> Tomcat server - 8.0.27.
>
> But, the re-start of server is not in my control.
>
> I would like to know if this is the normal environment in a web hosting 
> company ?
>
> Another thing is that, in my newly uploaded war file, I don't get to see any 
> System.out.println infor in my code, which I believe it should be printed 
> out, as per my last log file indication in the web hosting company.
>
> What they told me is
> "Only if there is system level operation. For example, unloading/reloading a 
> war file would have logged."
>
> So, please help me know if it is not possible to see system.out.print infor 
> as what I have put in the code in my java class ?
>
> Another thing is that I am going to put in the Tomcat Realm for the log-in 
> module and I am wondering where is the privacy since I do not have the full 
> control over Tomcat in this web hosting environment ?
>
> Thanks & regards,
> Karen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to