Commits

jordilin committed 5579707

attributing full names

  • Participants
  • Parent commits d2b0f38

Comments (0)

Files changed (4)

File log4client/src/log4tailer/LogColors.py

 # You should have received a copy of the GNU General Public License
 # along with Log4Tailer.  If not, see <http://www.gnu.org/licenses/>.
 
-from TermColorCodes import TermColorCodes
-import LogLevels
+from log4tailer.TermColorCodes import TermColorCodes
+from log4tailer import LogLevels
 
 class LogColors(object):
     '''Provides the colors that will

File log4client/src/log4tailer/Message.py

 # along with Log4Tailer.  If not, see <http://www.gnu.org/licenses/>.
 
 from log4tailer.ColorParser import ColorParser
-import modes
+from log4tailer import modes
 import re
 
 class Message(object):
         self.oldMessageLevel = ''
         self.oldLevelColor = None
         self.pauseMode = modes.PauseMode()
+        self.targetColor = None
         self.logOwnColor = False
         self.oldLogPath = None
         self.log = None

File log4client/src/log4tailer/SSHLogTailer.py

-import os,sys,logging,getpass,time,select
-from Log import Log
-from Message import Message
-from TermColorCodes import TermColorCodes
+import os
+import sys
+import logging
+import getpass
+import time
+import select
+from log4tailer.Log import Log
+from log4tailer.Message import Message
+from log4tailer.TermColorCodes import TermColorCodes
 from subprocess import Popen, PIPE
 import notifications
 
 SSH_DIR = os.path.join(os.path.expanduser('~'),'.ssh')
 SSH_KEY = os.path.join(SSH_DIR, 'id_rsa')
 
-class SSHLogTailer:
+class SSHLogTailer(object):
     
     HOSTNAME_PROPERTY_PREFIX = "hostname "
     TAIL_COMMAND_PREFIX = "tail -F "

File log4client/src/log4tailer/__init__.py

 logging.basicConfig(level = logging.WARNING)
 logger = logging.getLogger('log4tail')
 
-
 defaults  = {'pause' : 1, 
     'silence' : False,
     'throttle' : 0,