my linux machine has tomcat and apache web server, my applciation (running on tomcat) logs and tomcat logs I want to expose over http please advice me how.
Not through web browser but if you are using linux machine then you can view logs using "log file viewer".
For an example if you're using Ubuntu then you can goto System --> Administration --> System Log to view all kind of logs.
You can take a look at here
You can download the Log File Viewer package from here