weird log file names in mysql 4.0.12

weird log file names in mysql 4.0.12

am 24.04.2003 19:39:57 von Arkadiusz Miskiewicz

Hi,

I've specified path to isam log file:

[root@maja root]# mysqld --defaults-file=/etc/mysqld.conf --help | grep log-isam
--log-isam[=name] Log all MyISAM changes to file
log-isam /var/log/mysql/isamlog

but all logs are written to/var/log/mysql/isamlog.log while they should
be in /var/log/mysql/isamlog. In mysql 3.x that's working fine.

Next thing is log-update:
[root@maja root]# mysqld --defaults-file=/etc/mysqld.conf --help | grep log-update
--log-update[=name] Log updates to file.# where # is a unique number if not
log-update /var/log/mysql/update

But mysqld again creates it's own filenames like:

[root@maja root]# ls -l /var/log/mysql/update*
-rw-r----- 1 mysql mysql 0 2003-03-19 05:10 /var/log/mysql/update
-rw-rw---- 1 mysql mysql 441 2003-04-24 18:54 /var/log/mysql/update.001
-rw-rw---- 1 mysql mysql 1363580 2003-04-24 19:36 /var/log/mysql/update.002

Thats odd.

Behaviour changed to what was in mysql 3.x. Now my logrotate scripts
are broken because they are rotating /var/log/mysql/isamlog and
/var/log/mysql/update only.

First (isamlog.log) is IMO bug, second (update) should be optional
and there should be option to get 3.x behaviour.

Thanks,
--
Arkadiusz Mi¶kiewicz CS at FoE, Wroclaw University of Technology
arekm@sse.pl AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: weird log file names in mysql 4.0.12

am 24.04.2003 19:56:08 von Sinisa Milivojevic

Arkadiusz Miskiewicz writes:
> Hi,
>=20
> I've specified path to isam log file:
>=20
> [root@maja root]# mysqld --defaults-file=3D/etc/mysqld.conf --help | =
grep log-isam
> --log-isam[=3Dname] Log all MyISAM changes to file
> log-isam /var/log/mysql/isamlog
>=20
> but all logs are written to/var/log/mysql/isamlog.log while they shou=
ld
> be in /var/log/mysql/isamlog. In mysql 3.x that's working fine.
>=20
> Next thing is log-update:
> [root@maja root]# mysqld --defaults-file=3D/etc/mysqld.conf --help | =
grep log-update
> --log-update[=3Dname] Log updates to file.# where # is a unique num=
ber if not
> log-update /var/log/mysql/update
>=20
> But mysqld again creates it's own filenames like:
>=20
> [root@maja root]# ls -l /var/log/mysql/update*
> -rw-r----- 1 mysql mysql 0 2003-03-19 05:10 /var/log/=
mysql/update
> -rw-rw---- 1 mysql mysql 441 2003-04-24 18:54 /var/log/=
mysql/update.001
> -rw-rw---- 1 mysql mysql 1363580 2003-04-24 19:36 /var/log/=
mysql/update.002
>=20
> Thats odd.
>=20
> Behaviour changed to what was in mysql 3.x. Now my logrotate scripts
> are broken because they are rotating /var/log/mysql/isamlog and
> /var/log/mysql/update only.
>=20
> First (isamlog.log) is IMO bug, second (update) should be optional
> and there should be option to get 3.x behaviour.
>=20
> Thanks,
> --=20
> Arkadiusz Mi=B6kiewicz CS at FoE, Wroclaw University of Technology=

> arekm@sse.pl AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux
>=20

The above is expected behaviour as we need ot have our own extensions
as in some cases new files are to be created.


--=20

Regards,

--
For technical support contracts, go to https://order.mysql.com/?ref=3Dm=
smi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic >
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=3Dgcdmb-bugs@m.gmane.org