fix a problem when the character string beyond the number of the maximum characters is passed
Merge pull request #70 from yuusuke/fix_logging

fix a problem when the character string beyond the number of the maximum...