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:
parent
ce162b0ea8
commit
079acf2f6d
|
@ -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>
|
2007-08-27 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
* pandora.cc: Updated buildname.
|
* pandora.cc: Updated buildname.
|
||||||
|
|
Binary file not shown.
|
@ -143,8 +143,8 @@ Pandora_Ftp_Client::ftpFileFilename (const string remote_filename,
|
||||||
this->curl = curl_easy_init ();
|
this->curl = curl_easy_init ();
|
||||||
if (this->curl) {
|
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 ());
|
remote_filename.c_str ());
|
||||||
|
|
||||||
operation1 = "RNFR " + filename;
|
operation1 = "RNFR " + filename;
|
||||||
headerlist = curl_slist_append (headerlist, operation1.c_str ());
|
headerlist = curl_slist_append (headerlist, operation1.c_str ());
|
||||||
|
|
|
@ -121,8 +121,7 @@ main (int argc, char *argv[]) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
service->pandora_init ();
|
service->run ();
|
||||||
service->pandora_run ();
|
|
||||||
|
|
||||||
delete service;
|
delete service;
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,6 @@ Pandora_Windows_Service::pandora_init () {
|
||||||
|
|
||||||
setPandoraDebug (true);
|
setPandoraDebug (true);
|
||||||
|
|
||||||
pandoraLog ("Pandora agent started");
|
|
||||||
conf_file = Pandora::getPandoraInstallDir ();
|
conf_file = Pandora::getPandoraInstallDir ();
|
||||||
conf_file += "pandora_agent.conf";
|
conf_file += "pandora_agent.conf";
|
||||||
|
|
||||||
|
@ -359,7 +358,7 @@ Pandora_Windows_Service::pandora_run () {
|
||||||
|
|
||||||
/* Get the interval value (in minutes) */
|
/* Get the interval value (in minutes) */
|
||||||
interval = conf->getValue ("interval");
|
interval = conf->getValue ("interval");
|
||||||
pandoraLog ("Next execution on %s seconds", interval.c_str ());
|
pandoraDebug ("Next execution on %s seconds", interval.c_str ());
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue