利用qq邮箱作为个人邮件服务器发送邮件
socketio与apscheduler并用

docker运行gunicorn看不到控制台输出

妙音 posted @ 2019年4月06日 07:59 in python with tags docker flask websocket gunicorn , 6028 阅读

问题描述

 
项目做成了docker镜像, 以gunicorn命令运行, print输出为什么没有写到docker日志?
 
<!--more-->
 
* docker-compose文件如下
 
version: '2'
services:
  xxx.xxx:
    image: xxx:1.0
    volumes:
        - /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime
        - ./log/xxx:/var/log/xxx
        - ./xxx:/app
    ports:
      - "5000:5000"
    environment:
      - FLASK_ENV=development_wyq
    command: gunicorn --worker-class eventlet -w 1 xxx:app -b 0.0.0.0:5000      # print不写到控制台
    #command: gunicorn --worker-class eventlet -w 1 xxx:app -b 0.0.0.0:5000 --access-logfile -   #print写到控制台
 
 

解决方法

 
在命令上加上"--access-logfile -"
 
来源 
 
此生必看的科学实验-水知道答案
《了凡四训》详解之改过之法
印光大师十念法(胡小林主讲第1集)
精神病为什么治不好
百病之源
 
Avatar_small
TajirQQ 说:
2020年12月03日 21:07

<a href="http://5.100.154.29/"> <strong>TajirQQ</strong> </a>
<a href="http://bankerqq.fun/"> <strong>BankerQQ</strong> </a>
<a href="http://cantikqq.fun/"> <strong>CantikQQ</strong> </a>
<a href="http://dominohalo.pw/"> <strong>DominoHalo</strong> </a>
<a href="http://dominowalet.pw/"> <strong>DominoWalet</strong> </a>
<a href="http://fundomino.fun/"> <strong>FunDomino</strong> </a>
<a href="http://gorilaqq.space/"> <strong>GorilaQQ</strong> </a>
<a href="http://hidupqq.pw/"> <strong>HidupQQ</strong> </a>
<a href="http://jawadomino.pw/"> <strong>JawaDomino</strong> </a>
<a href="http://naloqq.space/"> <strong>NaloQQ</strong> </a>
<a href="http://perkasa99.pw/"> <strong>Perkasa99</strong> </a>
<a href="http://iblisqq.fun/"> <strong>IblisQQ</strong> </a>
<a href="http://jokerqq.space/"> <strong>JokerQQ</strong> </a>
<a href="http://kakiqq.pw/"> <strong>KakiQQ</strong> </a>
<a href="http://rutinqq.space/"> <strong>RutinQQ</strong> </a>

Avatar_small
TajirQQ 说:
2020年12月07日 18:30

Kumpulan Situs Judi Online Terbaik Dan Terpercaya....!!!! <a href="http://5.100.154.29/"> <strong>TajirQQ</strong> </a>  <a href="http://bankerqq.fun/"> <strong>BankerQQ</strong> </a><a href="http://cantikqq.fun/"> <strong>CantikQQ</strong> </a><a href="http://dominohalo.pw/"> <strong>DominoHalo</strong> </a><a href="http://dominowalet.pw/"> <strong>DominoWalet</strong> </a><a href="http://fundomino.fun/"> <strong>FunDomino</strong> </a><a href="http://gorilaqq.space/"> <strong>GorilaQQ</strong> </a><a href="http://hidupqq.pw/"> <strong>HidupQQ</strong> </a>   <a href="http://jawadomino.pw/"> <strong>JawaDomino</strong> </a><a href="http://naloqq.space/"> <strong>NaloQQ</strong> </a><a href="http://perkasa99.pw/"> <strong>Perkasa99</strong> </a><a href="http://iblisqq.fun/"> <strong>IblisQQ</strong> </a><a href="http://jokerqq.space/"> <strong>JokerQQ</strong> </a><a href="http://kakiqq.pw/"> <strong>KakiQQ</strong> </a><a href="http://rutinqq.space/"> <strong>RutinQQ</strong> </a>

Avatar_small
Digital_Zone 说:
2020年12月17日 23:00

It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. Crawley Accountants

Avatar_small
Digital_Zone 说:
2020年12月17日 23:11

Wow! This could be one of the most useful blogs we have ever come across on thesubject. Actually excellent info! I’m also an expert in this topic so I can understand your effort. East Grinstead Accountants

Avatar_small
Digital_Zone 说:
2020年12月22日 19:00

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info. Airconditioning Lommel

Avatar_small
Digital_Zone 说:
2020年12月22日 19:08

I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... Webdesign Bilzen

Avatar_small
Digital_Zone 说:
2020年12月22日 19:12

Yes, I am entirely agreed with this article, and I just want say that this article is very helpful and enlightening. I also have some precious piece of concerned info !!!!!!Thanks. Airconditioning Hasselt

Avatar_small
Digital_Zone 说:
2020年12月22日 19:16

Wow! This could be one of the most useful blogs we have ever come across on thesubject. Actually excellent info! I’m also an expert in this topic so I can understand your effort. Webdesign Diepenbeek

Avatar_small
Digital_Zone 说:
2020年12月22日 19:31

Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive! Airconditioning Genk

Avatar_small
Digital_Zone 说:
2020年12月22日 19:35

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... webdesign Tongeren

Avatar_small
Digital_Zone 说:
2020年12月22日 19:39

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! Airconditioning Neerpelt

Avatar_small
Digital_Zone 说:
2020年12月22日 19:43

Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subject. Webdesign

Avatar_small
Digital_Zone 说:
2020年12月22日 19:47

Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. Airconditioning Bilzen

Avatar_small
Digital_Zone 说:
2020年12月22日 19:58

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. Webdesign bureau

Avatar_small
Digital_Zone 说:
2020年12月22日 20:02

I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing. Airconditioning As

Avatar_small
Digital_Zone 说:
2020年12月22日 20:08

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also Leads

Avatar_small
Digital_Zone 说:
2020年12月22日 20:12

I wish more authors of this type of content would take the time you did to research and write so well. I am very impressed with your vision and insight. Airconditioning Sint-Truiden

Avatar_small
Digital_Zone 说:
2020年12月22日 20:16

It is included in my habit that I often visit blogs in my free time, so after landing on your blog. I have thoroughly impressed with it and decided to take out some precious time to visit it again and again. Thanks. Lead generation

Avatar_small
Digital_Zone 说:
2020年12月22日 20:21

Wow, excellent post. I'd like to draft like this too - taking time and real hard work to make a great article. This post has encouraged me to write some posts that I am going to write soon. Airconditioning Mol

Avatar_small
Digital_Zone 说:
2020年12月22日 20:25

nice post, keep up with this interesting work. It really is good to know that this topic is being covered also on this web site so cheers for taking time to discuss this! Webdesign

Avatar_small
Digital_Zone 说:
2020年12月22日 20:28

You delivered such an impressive piece to read, giving every subject enlightenment for us to gain information. Thanks for sharing such information with us due to which my several concepts have been cleared. Airconditioning Limburg

Avatar_small
Digital_Zone 说:
2020年12月22日 20:40

A great content material as well as great layout. Your website deserves all of the positive feedback it’s been getting. I will be back soon for further quality contents. Lead generation

Avatar_small
Digital_Zone 说:
2020年12月22日 20:52

I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers Warmtepomp Limburg

Avatar_small
Digital_Zone 说:
2020年12月22日 20:58

This article was written by a real thinking writer without a doubt. I agree many of the with the solid points made by the writer. I’ll be back day in and day for further new updates. SEO

Avatar_small
Digital_Zone 说:
2020年12月22日 21:03

I am unable to read articles online very often, but I’m glad I did today. This is very well written and your points are well-expressed. Please, don’t ever stop writing. Airco Antwerpen

Avatar_small
Digital_Zone 说:
2020年12月22日 21:08

Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. Wat is SEO?

Avatar_small
Digital_Zone 说:
2020年12月22日 21:12

Thank you a bunch for sharing this with all of us you actually realize what you are talking about! Bookmarked. Please also seek advice from my site =). We could have a hyperlink change contract between us! Zonnepanelen installateur Antwerpen

Avatar_small
Digital_Zone 说:
2020年12月22日 21:16

It is truly a well-researched content and excellent wording. I got so engaged in this material that I couldn’t wait reading. I am impressed with your work and skill. Thanks. SEO website

Avatar_small
Digital_Zone 说:
2020年12月22日 21:20

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. Airconditioning Tessenderlo

Avatar_small
Digital_Zone 说:
2020年12月27日 03:27

That appears to be excellent however i am still not too sure that I like it. At any rate will look far more into it and decide personally! Bodrum Rodos feribot

Avatar_small
Digital_Zone 说:
2020年12月27日 03:35

Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers! akıllı sehpa modelleri

Avatar_small
Poker Online 说:
2021年1月24日 19:40

<a href="http://arikunami.com/" title="Poker Online" rel="dofollow"> Poker Online</a>

Avatar_small
Judi Online 说:
2021年1月24日 19:40

<a href="http://arikunami.com/" title="Poker Online" rel="dofollow"> Poker Online</a>

Avatar_small
PKV Game 说:
2021年1月24日 19:40

<a href="http://arikunami.com/" title="Poker Online" rel="dofollow"> Poker Online</a>

Avatar_small
DOMINOQQ 说:
2021年1月24日 19:41

<a href="http://arikunami.com/" title="Poker Online" rel="dofollow"> Poker Online</a>

Avatar_small
Norton.com/setup 说:
2021年3月06日 14:14

<a href="https://sites.google.com/view/norton-com-setup-activation/norton-com-setup">Norton.com/setup</a>,If you have recently purchased a Norton Com Setup Product from an online store or a retail store.

Users can activate Roku from the official URL <a href="https://sites.google.com/view/url-roku-com-link">roku.com/link</a>

WWW Office.com/setup. You will get a complete Office Com Setup guide. You just need to follow our complete guideline regarding <a href="https://sites.google.com/view/www-office-com-setup-activate"> Office.com/setup</a>.

Avatar_small
Digital_Zone 说:
2021年8月30日 07:48

It is a fantastic post – immense clear and easy to understand. I am also holding out for the sharks too that made me laugh. Crawley Accountants

Avatar_small
Digital_Zone 说:
2021年10月03日 06:23

Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards. 토토사이트

Avatar_small
BoB Net Banking 说:
2022年7月30日 18:12

Bank of Baroda is a multinational Indian bank with the best online banking services. It is known to be one of the top public sector banking services all across the world. There are very few and simple BoB Net Banking browser requirements for BOBiBanking (Bank of Baroda Net Banking) usage. For that the retailer or corporate user of BOB net banking needs to follow to login to online banking facility, they are

Avatar_small
dark web/deep web/d 说:
2022年8月07日 14:58

Carding can refer to two different things. One is when you get to visit websites which are linked from sites like YouTube and Twitter. These are called "link bait" or "web Links". dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月07日 15:36

This seems to be an effective method because it is able to pull up past crimes and provide other relevant information. But because it is still only a technique, more work needs to be done. deep web

Avatar_small
dark web/deep web/d 说:
2022年8月07日 16:03

Carding sites are not the only places that you need to worry about the dark. All kinds of shady people may want to get into your personal information and they may use the dark for their own purposes. dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月07日 16:25

This tool works by locating the link on the CIDN part of the internet. With this, you'll get details such as the name of the website owner, his physical address, age, gender, and many more.  dark web sites

Avatar_small
dark web/deep web/d 说:
2022年8月07日 16:44

This can be determined by checking for the age of the website. The older the website is, the more likely it contains adult content. You may also use the search engines to look for adult content on the web. dark web

Avatar_small
dark web/deep web/d 说:
2022年8月07日 17:05

So, if you are curious about how to start affiliate marketing with ClickBank, all you need to do is take the first step. ClickBank is a great way to start making money online. work from home jobs

Avatar_small
dark web/deep web/d 说:
2022年8月07日 17:25

So you want to know how to be a successful ClickBank affiliate? There are many ways that can make you a bundle of cash, but you have to know what you are doing in order to succeed.  affiliate marketing success


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter