Show More
@@ -73,7 +73,7 b' asyncore_use_poll = true' | |||||
73 | ## The `instance_id = *` must be set in the [app:main] section below |
|
73 | ## The `instance_id = *` must be set in the [app:main] section below | |
74 | #workers = 2 |
|
74 | #workers = 2 | |
75 | ## number of threads for each of the worker, must be set to 1 for gevent |
|
75 | ## number of threads for each of the worker, must be set to 1 for gevent | |
76 | ## generally recommened to be at 1 |
|
76 | ## generally recommended to be at 1 | |
77 | #threads = 1 |
|
77 | #threads = 1 | |
78 | ## process name |
|
78 | ## process name | |
79 | #proc_name = rhodecode |
|
79 | #proc_name = rhodecode | |
@@ -601,15 +601,16 b' svn.proxy.location_root = /' | |||||
601 | ### SSH Support Settings ### |
|
601 | ### SSH Support Settings ### | |
602 | ############################################################ |
|
602 | ############################################################ | |
603 |
|
603 | |||
604 |
## Defines if |
|
604 | ## Defines if a custom authorized_keys file should be created and written on | |
605 |
## user ssh keys |
|
605 | ## any change user ssh keys. Setting this to false also disables posibility | |
606 |
## |
|
606 | ## of adding SSH keys by users from web interface. Super admins can still | |
|
607 | ## manage SSH Keys. | |||
607 | ssh.generate_authorized_keyfile = false |
|
608 | ssh.generate_authorized_keyfile = false | |
608 |
|
609 | |||
609 | ## Options for ssh, default is `no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding` |
|
610 | ## Options for ssh, default is `no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding` | |
610 | # ssh.authorized_keys_ssh_opts = |
|
611 | # ssh.authorized_keys_ssh_opts = | |
611 |
|
612 | |||
612 | ## File to generate the authorized keys together with options |
|
613 | ## Path to the authrozied_keys file where the generate entries are placed. | |
613 | ## It is possible to have multiple key files specified in `sshd_config` e.g. |
|
614 | ## It is possible to have multiple key files specified in `sshd_config` e.g. | |
614 | ## AuthorizedKeysFile %h/.ssh/authorized_keys %h/.ssh/authorized_keys_rhodecode |
|
615 | ## AuthorizedKeysFile %h/.ssh/authorized_keys %h/.ssh/authorized_keys_rhodecode | |
615 | ssh.authorized_keys_file_path = ~/.ssh/authorized_keys_rhodecode |
|
616 | ssh.authorized_keys_file_path = ~/.ssh/authorized_keys_rhodecode | |
@@ -622,9 +623,9 b' ssh.wrapper_cmd = ~/.rccontrol/community' | |||||
622 | ## Allow shell when executing the ssh-wrapper command |
|
623 | ## Allow shell when executing the ssh-wrapper command | |
623 | ssh.wrapper_cmd_allow_shell = false |
|
624 | ssh.wrapper_cmd_allow_shell = false | |
624 |
|
625 | |||
625 |
## Enables logging, and detailed output send back to the client |
|
626 | ## Enables logging, and detailed output send back to the client during SSH | |
626 | ## debugging, shouldn't be used in production. |
|
627 | ## operations. Usefull for debugging, shouldn't be used in production. | |
627 |
ssh.enable_debug_logging = |
|
628 | ssh.enable_debug_logging = true | |
628 |
|
629 | |||
629 | ## API KEY for user who has access to fetch other user permission information |
|
630 | ## API KEY for user who has access to fetch other user permission information | |
630 | ## most likely an super-admin account with some IP restrictions. |
|
631 | ## most likely an super-admin account with some IP restrictions. | |
@@ -634,7 +635,7 b' ssh.api_key =' | |||||
634 | ## access |
|
635 | ## access | |
635 | ssh.api_host = http://localhost |
|
636 | ssh.api_host = http://localhost | |
636 |
|
637 | |||
637 |
## Paths to binary execut |
|
638 | ## Paths to binary executable, by default they are the names, but we can | |
638 | ## override them if we want to use a custom one |
|
639 | ## override them if we want to use a custom one | |
639 | ssh.executable.hg = ~/.rccontrol/vcsserver-1/profile/bin/hg |
|
640 | ssh.executable.hg = ~/.rccontrol/vcsserver-1/profile/bin/hg | |
640 | ssh.executable.git = ~/.rccontrol/vcsserver-1/profile/bin/git |
|
641 | ssh.executable.git = ~/.rccontrol/vcsserver-1/profile/bin/git | |
@@ -650,7 +651,7 b' custom.conf = 1' | |||||
650 | ### LOGGING CONFIGURATION #### |
|
651 | ### LOGGING CONFIGURATION #### | |
651 | ################################ |
|
652 | ################################ | |
652 | [loggers] |
|
653 | [loggers] | |
653 |
keys = root, |
|
654 | keys = root, sqlalchemy, beaker, rhodecode, ssh_wrapper | |
654 |
|
655 | |||
655 | [handlers] |
|
656 | [handlers] | |
656 | keys = console, console_sql |
|
657 | keys = console, console_sql | |
@@ -665,12 +666,11 b' keys = generic, color_formatter, color_f' | |||||
665 | level = NOTSET |
|
666 | level = NOTSET | |
666 | handlers = console |
|
667 | handlers = console | |
667 |
|
668 | |||
668 | [logger_routes] |
|
669 | [logger_sqlalchemy] | |
669 |
level = |
|
670 | level = INFO | |
670 | handlers = |
|
671 | handlers = console_sql | |
671 | qualname = routes.middleware |
|
672 | qualname = sqlalchemy.engine | |
672 | ## "level = DEBUG" logs the route matched and routing variables. |
|
673 | propagate = 0 | |
673 | propagate = 1 |
|
|||
674 |
|
674 | |||
675 | [logger_beaker] |
|
675 | [logger_beaker] | |
676 | level = DEBUG |
|
676 | level = DEBUG | |
@@ -678,24 +678,12 b' handlers =' | |||||
678 | qualname = beaker.container |
|
678 | qualname = beaker.container | |
679 | propagate = 1 |
|
679 | propagate = 1 | |
680 |
|
680 | |||
681 | [logger_templates] |
|
|||
682 | level = INFO |
|
|||
683 | handlers = |
|
|||
684 | qualname = pylons.templating |
|
|||
685 | propagate = 1 |
|
|||
686 |
|
||||
687 | [logger_rhodecode] |
|
681 | [logger_rhodecode] | |
688 | level = DEBUG |
|
682 | level = DEBUG | |
689 | handlers = |
|
683 | handlers = | |
690 | qualname = rhodecode |
|
684 | qualname = rhodecode | |
691 | propagate = 1 |
|
685 | propagate = 1 | |
692 |
|
686 | |||
693 | [logger_sqlalchemy] |
|
|||
694 | level = INFO |
|
|||
695 | handlers = console_sql |
|
|||
696 | qualname = sqlalchemy.engine |
|
|||
697 | propagate = 0 |
|
|||
698 |
|
||||
699 | [logger_ssh_wrapper] |
|
687 | [logger_ssh_wrapper] | |
700 | level = DEBUG |
|
688 | level = DEBUG | |
701 | handlers = |
|
689 | handlers = |
@@ -73,7 +73,7 b' use = egg:gunicorn#main' | |||||
73 | ## The `instance_id = *` must be set in the [app:main] section below |
|
73 | ## The `instance_id = *` must be set in the [app:main] section below | |
74 | workers = 2 |
|
74 | workers = 2 | |
75 | ## number of threads for each of the worker, must be set to 1 for gevent |
|
75 | ## number of threads for each of the worker, must be set to 1 for gevent | |
76 | ## generally recommened to be at 1 |
|
76 | ## generally recommended to be at 1 | |
77 | #threads = 1 |
|
77 | #threads = 1 | |
78 | ## process name |
|
78 | ## process name | |
79 | proc_name = rhodecode |
|
79 | proc_name = rhodecode | |
@@ -570,15 +570,16 b' svn.proxy.location_root = /' | |||||
570 | ### SSH Support Settings ### |
|
570 | ### SSH Support Settings ### | |
571 | ############################################################ |
|
571 | ############################################################ | |
572 |
|
572 | |||
573 |
## Defines if |
|
573 | ## Defines if a custom authorized_keys file should be created and written on | |
574 |
## user ssh keys |
|
574 | ## any change user ssh keys. Setting this to false also disables posibility | |
575 |
## |
|
575 | ## of adding SSH keys by users from web interface. Super admins can still | |
|
576 | ## manage SSH Keys. | |||
576 | ssh.generate_authorized_keyfile = false |
|
577 | ssh.generate_authorized_keyfile = false | |
577 |
|
578 | |||
578 | ## Options for ssh, default is `no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding` |
|
579 | ## Options for ssh, default is `no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding` | |
579 | # ssh.authorized_keys_ssh_opts = |
|
580 | # ssh.authorized_keys_ssh_opts = | |
580 |
|
581 | |||
581 | ## File to generate the authorized keys together with options |
|
582 | ## Path to the authrozied_keys file where the generate entries are placed. | |
582 | ## It is possible to have multiple key files specified in `sshd_config` e.g. |
|
583 | ## It is possible to have multiple key files specified in `sshd_config` e.g. | |
583 | ## AuthorizedKeysFile %h/.ssh/authorized_keys %h/.ssh/authorized_keys_rhodecode |
|
584 | ## AuthorizedKeysFile %h/.ssh/authorized_keys %h/.ssh/authorized_keys_rhodecode | |
584 | ssh.authorized_keys_file_path = ~/.ssh/authorized_keys_rhodecode |
|
585 | ssh.authorized_keys_file_path = ~/.ssh/authorized_keys_rhodecode | |
@@ -591,8 +592,8 b' ssh.wrapper_cmd = ~/.rccontrol/community' | |||||
591 | ## Allow shell when executing the ssh-wrapper command |
|
592 | ## Allow shell when executing the ssh-wrapper command | |
592 | ssh.wrapper_cmd_allow_shell = false |
|
593 | ssh.wrapper_cmd_allow_shell = false | |
593 |
|
594 | |||
594 |
## Enables logging, and detailed output send back to the client |
|
595 | ## Enables logging, and detailed output send back to the client during SSH | |
595 | ## debugging, shouldn't be used in production. |
|
596 | ## operations. Usefull for debugging, shouldn't be used in production. | |
596 | ssh.enable_debug_logging = false |
|
597 | ssh.enable_debug_logging = false | |
597 |
|
598 | |||
598 | ## API KEY for user who has access to fetch other user permission information |
|
599 | ## API KEY for user who has access to fetch other user permission information | |
@@ -603,7 +604,7 b' ssh.api_key =' | |||||
603 | ## access |
|
604 | ## access | |
604 | ssh.api_host = http://localhost |
|
605 | ssh.api_host = http://localhost | |
605 |
|
606 | |||
606 |
## Paths to binary execut |
|
607 | ## Paths to binary executable, by default they are the names, but we can | |
607 | ## override them if we want to use a custom one |
|
608 | ## override them if we want to use a custom one | |
608 | ssh.executable.hg = ~/.rccontrol/vcsserver-1/profile/bin/hg |
|
609 | ssh.executable.hg = ~/.rccontrol/vcsserver-1/profile/bin/hg | |
609 | ssh.executable.git = ~/.rccontrol/vcsserver-1/profile/bin/git |
|
610 | ssh.executable.git = ~/.rccontrol/vcsserver-1/profile/bin/git | |
@@ -619,7 +620,7 b' custom.conf = 1' | |||||
619 | ### LOGGING CONFIGURATION #### |
|
620 | ### LOGGING CONFIGURATION #### | |
620 | ################################ |
|
621 | ################################ | |
621 | [loggers] |
|
622 | [loggers] | |
622 |
keys = root, |
|
623 | keys = root, sqlalchemy, beaker, rhodecode, ssh_wrapper | |
623 |
|
624 | |||
624 | [handlers] |
|
625 | [handlers] | |
625 | keys = console, console_sql |
|
626 | keys = console, console_sql | |
@@ -634,12 +635,11 b' keys = generic, color_formatter, color_f' | |||||
634 | level = NOTSET |
|
635 | level = NOTSET | |
635 | handlers = console |
|
636 | handlers = console | |
636 |
|
637 | |||
637 | [logger_routes] |
|
638 | [logger_sqlalchemy] | |
638 |
level = |
|
639 | level = INFO | |
639 | handlers = |
|
640 | handlers = console_sql | |
640 | qualname = routes.middleware |
|
641 | qualname = sqlalchemy.engine | |
641 | ## "level = DEBUG" logs the route matched and routing variables. |
|
642 | propagate = 0 | |
642 | propagate = 1 |
|
|||
643 |
|
643 | |||
644 | [logger_beaker] |
|
644 | [logger_beaker] | |
645 | level = DEBUG |
|
645 | level = DEBUG | |
@@ -647,24 +647,12 b' handlers =' | |||||
647 | qualname = beaker.container |
|
647 | qualname = beaker.container | |
648 | propagate = 1 |
|
648 | propagate = 1 | |
649 |
|
649 | |||
650 | [logger_templates] |
|
|||
651 | level = INFO |
|
|||
652 | handlers = |
|
|||
653 | qualname = pylons.templating |
|
|||
654 | propagate = 1 |
|
|||
655 |
|
||||
656 | [logger_rhodecode] |
|
650 | [logger_rhodecode] | |
657 | level = DEBUG |
|
651 | level = DEBUG | |
658 | handlers = |
|
652 | handlers = | |
659 | qualname = rhodecode |
|
653 | qualname = rhodecode | |
660 | propagate = 1 |
|
654 | propagate = 1 | |
661 |
|
655 | |||
662 | [logger_sqlalchemy] |
|
|||
663 | level = INFO |
|
|||
664 | handlers = console_sql |
|
|||
665 | qualname = sqlalchemy.engine |
|
|||
666 | propagate = 0 |
|
|||
667 |
|
||||
668 | [logger_ssh_wrapper] |
|
656 | [logger_ssh_wrapper] | |
669 | level = DEBUG |
|
657 | level = DEBUG | |
670 | handlers = |
|
658 | handlers = |
General Comments 0
You need to be logged in to leave comments.
Login now