Commit Graph

22 Commits

Author SHA1 Message Date
8030cf5b36 Safer parameter strings for rsync command. Wrap filename in qoutes. 2019-05-01 10:50:28 +02:00
ce2a319447 Conver session id to string when attaching to json object. 2019-05-01 00:30:25 +02:00
c3a23ef344 Fixed syntax error at if test. Incorrect closing paranthese position 2019-05-01 00:28:11 +02:00
5559030199 Create a session id each time ES handler is initialized 2019-05-01 00:26:31 +02:00
3c976b398f We collect files to move. Some cases another transfer can start and finish before this instance gets to the file. To not transfere duplicates we now check if the file exists with getFiles before we start a transfere. If its at the remote path we simply continue to the next file. 2019-04-30 23:52:49 +02:00
506a029a88 Config gets a new elastic field for logging to dynamic elastic host. 2019-04-30 19:24:36 +02:00
206606ca1e Moved function for fetching config into separate utils file. 2019-04-30 19:23:04 +02:00
df5246b304 Elastic logging handler now dependency free (urllib in favor of requests) 2019-04-30 00:28:43 +02:00
eefe4f7aa0 Created a custom elastic logging handler. 2019-04-30 00:23:30 +02:00
0a88e3b376 Changed severity levels on some logs 2019-04-30 00:22:21 +02:00
8c67226823 Log-log-log! If files are found or not we output two different logs. Also info log every time we dont find anything. 2019-04-29 22:39:20 +02:00
524cc82020 Replaced all prints with logger messages. Also added more info logging of what files are found 2019-04-29 22:26:23 +02:00
9c95395827 Logg deluge stdout to log file on remove and fixed issue where the name to delete from deluge was the absolute path not just the filename. 2019-04-29 22:13:40 +02:00
4e5f5e5172 Renamed case-sensitive file 2019-04-29 22:03:35 +02:00
dc777f0812 Improved log levels for subprocess calls. 2019-04-29 22:01:19 +02:00
af136e7ce2 Now uses logging to file. 2019-04-29 21:53:29 +02:00
48266f7d1a Added project config file to gitignore 2019-04-29 21:52:44 +02:00
40846e490f Logger now also creates log file if it does not exist yet 2019-04-29 21:52:07 +02:00
80013af814 If config does not exist we exit and tell user to follow readme 2019-04-29 21:33:20 +02:00
dce5a070ca Added default config file with empty variables. 2019-04-29 21:09:43 +02:00
15eeb3681f Version 0.1 of the transatlantic torrent express. 2019-04-29 21:08:25 +02:00
ef1e671521 Initial commit 2019-04-29 21:07:04 +02:00