|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: nginx+perl отладка
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Re[2]: nginx+perl отладка
- From: Sergey Averyanov <averyanov@xxxxxxxxx>
- Date: Sun, 30 Jan 2011 11:57:51 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=ByNKd40QhFIP+byNxFOaATd1dGYnOot8SPr8+wcI/PQ=; b=NBgM4WalRia6K4UwWh9eyD28A3ua6Ax7vNJiNjeB5QKsMvdxxYtoVswNaTe4+Z0iqS 6v2C2q8AZEeveBfeLihgxdDQNQYjfMGSXpGC4e6DcNAiMGzyLDoFmg/2XIVEBXpXbcz3 LbiaHOMdIbjTZ6uLrOv6vyP07CdYg5qPdZU0M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=AO/AWOS2W2KjSICbcHvbB6MeACI2c4LhgI4eQb9p3Oa4L9AcTxg6f5PFeQWPPOSYGc wP/EfAxwZRkJzTPysr3mSoU+MdqnIBMf+CahMy1lncTh2kwDVCkQMFd6AUkn9tlanEHL mXagF4h4rPEL/tgwgGBlzL1T5medmMsuZGrLs=
- In-reply-to: <1373706665.20110130115308@xxxxxxxxxx>
- References: <1644467209.20110130094806@xxxxxxxxxx> <AANLkTikJxQiHuMqBr38uNk4r-nq2T=WziMmNbJSwx9CV@xxxxxxxxxxxxxx> <1373706665.20110130115308@xxxxxxxxxx>
sub log_msg { my $txt = shift; open(F, ">>/tmp/foo.log"); print F "$txt\n"; close(F); } ... log_msg("bar");
2011/1/30 demiart_gmail <garrotte@xxxxxxxxxx>
> Ну так самое очевидное. Я обычно делаю лог в /tmp для отладки.
Спасибо
А пример небольшой можно, если не затруднит ?
-- С уважением, Сергей Аверьянов
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|