Added priority to tickets.
Fixed logged time truncation issue.
Finished logging implementation.