i need squid proxy log file daily auto generate by shell script
We're going to need a lot more detail to provide a useful answer, Squid logging is almost infinitely configurable, it can log to a remote server, its own log files or a local logging daemon, you can set a rollover period on the log files (which may be what you're asking) in /etc/logrotate.d/squid.