Not able to load log files

32 views
Skip to first unread message

UMESHA VAGGA

unread,
Feb 27, 2014, 5:23:04 AM2/27/14
to vamonos-...@googlegroups.com
Hi,

i have configured vsagent in client box when i start the vsagent i m not able to see the log files in vsconsole , i have added the agent as well

please find the agent.config entries below

port=7001

# Only expose files that have been modified with the last [maxage] days
maxage=5

# Global extension filter
## All files exposed will have one of the following extensions.
fileview.extension=properties
fileview.extension=log
fileview.extension=txt


# Directories
# [directory path];[semicolon separated list of extensions]
#
# Since the global extension filter is always applied, you only need to specify extensions here if you
# want to specify a subset of the global extensions.

## exposes all files in these directories that have one of the global extensions
fileview.directory="D:/Verizon/ProgramFiles/Oracle/Middleware/user_projects/domains/omni_phase3_domain/servers/AdminServer/logs"


## only exposes *.log and *.txt here, does not expose *.properties
fileview.directory=D:/Verizon/ProgramFiles/Oracle/Middleware/user_projects/domains/omni_phase3_domain/servers/AdminServer/logs;log;txt

and i m getting msg like this 

please help me out..

thanks in advance. 



VamonosSoftware

unread,
Mar 11, 2014, 7:42:52 PM3/11/14
to vamonos-...@googlegroups.com
Have the files been recently modified? Your config file will only show those files modified in the last 5 days (due to the maxage=5 property).

If you add a .log file or .txt file do your directory, do you see anything then?

You can run the agent from the command line with the -list parameter to display matching files on the console - this is an easy way to verify you have an appropriate configuration...


To run it from the console, execute the VSAGENT_HOME/bin/vsagent.sh script, with the -config 
parameter to define the configuration file. Here, we’ll also specify -list so that we see what files 
are being exposed:
$ /server/infrastructure/vsagent/vsagent-0.1/bin/vsagent.sh -config
 /server/infrastructure/vsagent/agent.config -list
vsAgent com.vamonossoftware-vsagent 0.1
 - Vamonos Software remote agent (http://www.vamonossoftware.com/)
Starting file service
Listening on port 8081
Files currently being exposed:
 /var/log/dpkg.log
 /var/log/daemon.log
 /var/log/user.log
 /var/log/kern.log
 /var/log/apt/history.log
 /var/log/alternatives.log
 /var/log/boot.log
 /var/log/tomcat6/catalina.2011-01-28.log
 /var/log/tomcat6/localhost.2011-01-28.log
 /var/log/auth.log

 

Reply all
Reply to author
Forward
0 new messages