The invention discloses a storage method for preventing a client log from losing easily, which comprises the following steps of step A, finding a log file with a transition effect under a log directory, and mapping the log file with the transition effect into an MMAP memory according to an MMAP rule; b, when log data is received, writing the log data into an MMAP memory; c, using the MMAP memory to print the received log data into the log file with the transition effect; and step D, scanning the log files in the log directory, and renaming the scanned log files. According to the method, the problem that the log information is lost due to client crash is solved, and meanwhile, a plurality of log files can be written without increasing the memory, so that the IO consumption caused by log writing of the client can be reduced, the jamming problem caused by log writing is reduced, and the user experience is improved.