# man > getbuildlog(1)

[GETBUILDLOG(1)](https://www.chedong.com/phpMan.php/man/GETBUILDLOG/1/markdown)                         General Commands Manual                        [GETBUILDLOG(1)](https://www.chedong.com/phpMan.php/man/GETBUILDLOG/1/markdown)



## NAME
       getbuildlog - download build logs from Debian auto-builders

## SYNOPSIS
       **getbuildlog** _package_ [_version-pattern_] [_architecture-pattern_]

## DESCRIPTION
       **getbuildlog**  downloads  build  logs  of _package_ from Debian auto-builders. It downloads build
       logs of all versions and for all architectures if  _version-pattern_  and  _architecture-pattern_
       are  not  specified  or empty, otherwise only build logs whose versions match _version-pattern_
       and build logs whose architectures match _architecture-pattern_ will be downloaded. The version
       and  architecture  patterns  are  interpreted as extended regular expressions as described in
       [**grep**(1)](https://www.chedong.com/phpMan.php/man/grep/1/markdown).

       If _version-pattern_ is "last" then only the logs for the most recent version of _package_  found
       on buildd.debian.org will be downloaded.

       If  _version-pattern_  is  "last-all"  then  the logs for the most recent version found on each
       build log index will be downloaded.

## OPTIONS
### -h --help
              Show usage information and examples.

### -V --version
              Show version and copyright information.

## EXAMPLES
       getbuildlog hello 2\.2-1 amd64
              Download amd64 build log for hello version 2.2-1.

       getbuildlog glibc "" mips.*
              Download mips(el) build logs of all glibc versions.

       getbuildlog wesnoth .*bpo.*
              Download all build logs of backported wesnoth versions.

## AUTHOR
       Written by Frank S. Thomas <<fst@debian.org>>.



DEBIAN                                    Debian Utilities                            [GETBUILDLOG(1)](https://www.chedong.com/phpMan.php/man/GETBUILDLOG/1/markdown)
