2007-08-28 Esteban Sanchez <estebans@artica.es>

* main.cc: Fixed an error with previous commit.

        * pandora_windows_service.cc, ftp/pandora_ftp_client.cc: Reduced log
         level.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2007-08-28 10:47:58 +00:00
parent ce162b0ea8
commit 079acf2f6d
5 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,12 @@
2007-08-28 Esteban Sanchez <estebans@artica.es>
* main.cc: Fixed an error with previous commit.
* pandora_windows_service.cc, ftp/pandora_ftp_client.cc: Reduced log
level.
* bin/PandoraAgent.exe: Updated to last commit.
2007-08-27 Esteban Sanchez <estebans@artica.es>
* pandora.cc: Updated buildname.

View File

@ -143,7 +143,7 @@ Pandora_Ftp_Client::ftpFileFilename (const string remote_filename,
this->curl = curl_easy_init ();
if (this->curl) {
pandoraLog ("Copying %s to %s%s", filepath.c_str (), this->host.c_str (),
pandoraDebug ("Copying %s to %s%s", filepath.c_str (), this->host.c_str (),
remote_filename.c_str ());
operation1 = "RNFR " + filename;

View File

@ -121,8 +121,7 @@ main (int argc, char *argv[]) {
return 1;
}
}
service->pandora_init ();
service->pandora_run ();
service->run ();
delete service;

View File

@ -99,7 +99,6 @@ Pandora_Windows_Service::pandora_init () {
setPandoraDebug (true);
pandoraLog ("Pandora agent started");
conf_file = Pandora::getPandoraInstallDir ();
conf_file += "pandora_agent.conf";
@ -359,7 +358,7 @@ Pandora_Windows_Service::pandora_run () {
/* Get the interval value (in minutes) */
interval = conf->getValue ("interval");
pandoraLog ("Next execution on %s seconds", interval.c_str ());
pandoraDebug ("Next execution on %s seconds", interval.c_str ());
return;
}